From Fedora Project Wiki

< FWN‎ | Beats

(→‎Libvirt List: cgroups API and LXC Driver Support)
 
(427 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Virtualization]] <!-- do not copy into FWN issue -->
{{Anchor|Virtualization}}
{{Anchor|Virtualization}}


== Virtualization ==
== Virtualization ==
In this section, we cover discussion on the @et-mgmnt-tools-list, @fedora-xen-list, @libvirt-list and @ovirt-devel-list of Fedora virtualization technologies.
In this section, we cover discussion of Fedora virtualization technologies on the
 
@fedora-virt list.
Contributing Writer: [[DaleBewley | Dale Bewley]]
 
=== Enterprise Management Tools List ===
This section contains the discussion happening on the [https://www.redhat.com/mailman/listinfo/et-mgmt-tools et-mgmt-tools list]
 
==== virt-manager Adds Disk and Network I/O Graphs ====
[[GuidoGünther|Guido Günther]] submitted[1] a patch for <code>virt-manager</code>
to display with disk and network input/output graphs in addition to the CPU and memory utilization graphs.
 
[1] https://www.redhat.com/archives/et-mgmt-tools/2008-October/msg00026.html
 
==== virt-manager Supports Multiple Serial Consoles ====
[[ColeRobinson|Cole Robinson]] patched[1] <code>virt-manager</code> to
combine "the serial console window with the VM details window. Opening the serial console now appends a tab to the details view. In addition, multiple serial consoles are now supported, not just the primary/first defined console, though this still only works for 'pty' devices."
 
[1] https://www.redhat.com/archives/et-mgmt-tools/2008-September/msg00109.html
 
==== Maintaining VM State While Restarting libvirtd Needed ====
Upgrades of <code>libvirt</code> necessitate a restart of <code>libvirtd</code>.  [[GuidoGünther|Guido Günther]] asked[1] if there was any progress on saving enough state to restart <code>libvirtd</code> without restarting any guests. [[DanielBerrange|Daniel P. Berrange]] replied[2] this has been solved for the LXC driver and the same approach may apply to the QEMU driver.
 
[1] https://www.redhat.com/archives/et-mgmt-tools/2008-September/msg00093.html
 
[2] https://www.redhat.com/archives/et-mgmt-tools/2008-September/msg00094.html
 
Guido pointed[3] out "This would solve the problem of restarting libvirtd. How are we going to
distinguish this from daemon shutdown on e.g. system reboot?" To which, Daniel B. proposed[4]
"We can probably distinguish by picking a specific signal for orderly shutdown of the daemon + vms, vs a simple restart." Adding, "Perhaps we should have an explicit API, or a convenient virsh command to
shutdown all VMs in one go."
 
[3] https://www.redhat.com/archives/et-mgmt-tools/2008-October/msg00046.html
 
[4] https://www.redhat.com/archives/et-mgmt-tools/2008-October/msg00047.html
 
=== Fedora Xen List ===
This section contains the discussion happening on the [https://www.redhat.com/mailman/listinfo/fedora-xen fedora-xen list].
 
==== No Dom0 Support in Fedora 10 ====
[[DanielBerrange|Daniel P. Berrange]] laid[1] it out there.
"There is pretty much zero chance that Fedora 10 will include a Xen
Dom0 host. While upstream Xen developers are making good progress
on porting Dom0 to paravirt_ops, there is simply too little time
for this to be ready for Fedora 10. So if you need to use Fedora 10
as a host, then KVM is your only viable option at this time. If
you can wait for Fedora 11 (or use RHEL-5 / CentOS-5) then Xen may
be an option for you." See also FWN 143[2].
 
[1] https://www.redhat.com/archives/fedora-xen/2008-September/msg00035.html
 
[2] https://fedoraproject.org/wiki/FWN/Issue143#Laying_the_Groundwork_for_Xen_Domain_0_Support
 
=== Libvirt List ===
This section contains the discussion happening on the [https://www.redhat.com/mailman/listinfo/libvir-list libvir-list].
 
==== Running Xen Guests Without xend ====
[[StefanKonink|Stefan de Konink]] asked[1] if users could someday run xen
guests without a xend running. [[GerdHoffmann|Gerd Hoffmann]] said[2] there
are patches queued up which begin to allow qemu to do this. Adding, "If things work out well we might have that in the F11 timeframe." Assuming Dom0 support in the pv_ops based kernel is completed.
 
[1] https://www.redhat.com/archives/libvir-list/2008-September/msg00402.html
 
[2] https://www.redhat.com/archives/libvir-list/2008-September/msg00406.html
 
==== cgroups API and LXC Driver Support ====
[[DanSmith|Dan Smith]] posted[1] a
patch set which "adds basic cgroup[2] support to the LXC driver.  It consists of
a small internal cgroup manipulation API, as well as changes to the driver
itself to utilize the support."
 
[1] https://www.redhat.com/archives/libvir-list/2008-September/msg00415.html
 
[2] http://www.mjmwired.net/kernel/Documentation/cgroups.txt
 
Dan agreed[3] to "reswizzle" the API after [[DanielBerrange|Daniel P. Berrange]] commented[4],
"My thought on the overall design of this internal API is that it is
too low level & pushing too much work to the caller."
Also, "While LXC driver is the only current user, as more controllers are added I anticipate
that QEMU driver might use cgroups, eg for I/O controls and CPU schedular controls."
"As such I'd expect an API to be at a slightly higher level of
abstraction, strongly typed and a single cgroup object associated
with a domain object.
 
[3] https://www.redhat.com/archives/libvir-list/2008-September/msg00436.html
 
[4] https://www.redhat.com/archives/libvir-list/2008-September/msg00434.html
 
There was discussion of how to mount the controllers. The cgroups
kernel interace is less than ideal, because[5] "...once you mount a particular controller, you can't
change the way it's mounted. So if libvirt mounted each controller
separately, then the admin couldn't have a mount with multiple
controllers active, and vica-verca."


[5] https://www.redhat.com/archives/libvir-list/2008-September/msg00432.html
Contributing Writer: [[User:Dale | Dale Bewley]]


This prompted [[BalbirSingh|Balbir Singh]] to begin a new thread
=== Fedora Virtualization List ===
recommending[6] the use of <code>libcgroups</code>[7] rather than an internal
This section contains the discussion happening on the
implementation. Adding, "I understand that in the past there has been a perception that libcgroups might
[http://www.redhat.com/mailman/listinfo/fedora-virt fedora-virt list].
not yet be ready, because we did not have ABI stability built into the library
and the header file had old comments about things changing. I would urge the
group to look at the current implementation of libcgroups (look at v0.32) and
help us."


[6] https://www.redhat.com/archives/libvir-list/2008-October/msg00095.html
==== Virt Status Report ====
[[JustinForbes|Justin Forbes]]
posted<ref>http://www.redhat.com/archives/fedora-virt/2009-December/msg00056.html</ref> a Fedora virtualization status report.
Justin pointed out F13 bugs<ref>http://fedoraproject.org/wiki/Virtualization_bugs</ref> now include Important and Pony classifications in addition to Blocker and Target.


[7] http://libcg.sf.net
<references />


[[DanielVeillard|Daniel Veillard]] pointed[8] to issues of dependency and API completeness raised[9] in the past.
==== RHEL and Fedora Virtualization Feature Parity ====
"In the meantime we got a relatively simple, sufficient for now, usable
Robert Day wondered how the virtualization features<ref>http://www.redhat.com/virtualization/rhev/</ref> of Red Hat Enterprise Linux 5.4
right now, patch fullfilling our needs." Adding support for taking Dan Smith's
compared to Fedora 12.
patch with it's internal cgroups implementation.


[8] https://www.redhat.com/archives/libvir-list/2008-October/msg00097.html
[[DanielBerrange|Daniel Berrange]]
explained<ref>http://www.redhat.com/archives/fedora-virt/2009-December/msg00040.html</ref>
"The KVM based virtualization in RHEL-5.4 is not nearly so far behind
Fedora as you might think. The {{package|libvirt}} mgmt stack in RHEL-5.4 was
rebased to be near parity with [[Releases/11|Fedora 11]], and KVM in RHEL-5.4 is
also pretty close to that using what's best described as a hybrid of
kvm-83 and kvm-84."


[9] https://www.redhat.com/archives/libvir-list/2008-September/msg00096.html
<references />


[[DhavalGiani|Dhaval Giani]] offered[10] that version 0.32 of
<code>libcrgoups</code> will be available in Rawhide soon. The thread
amicably continued on in great detail about the implementation details of
<code>libcgroups</code>.


[10] https://www.redhat.com/archives/libvir-list/2008-October/msg00103.html
====  ====
<references />


=== oVirt Devel List ===
====  ====
This section contains the discussion happening on the [https://www.redhat.com/mailman/listinfo/ovirt-devel ovirt-devel list].
<references />

Latest revision as of 18:09, 18 December 2009



Virtualization

In this section, we cover discussion of Fedora virtualization technologies on the @fedora-virt list.

Contributing Writer: Dale Bewley

Fedora Virtualization List

This section contains the discussion happening on the fedora-virt list.

Virt Status Report

Justin Forbes posted[1] a Fedora virtualization status report. Justin pointed out F13 bugs[2] now include Important and Pony classifications in addition to Blocker and Target.

RHEL and Fedora Virtualization Feature Parity

Robert Day wondered how the virtualization features[1] of Red Hat Enterprise Linux 5.4 compared to Fedora 12.

Daniel Berrange explained[2] "The KVM based virtualization in RHEL-5.4 is not nearly so far behind Fedora as you might think. The Package-x-generic-16.pnglibvirt mgmt stack in RHEL-5.4 was rebased to be near parity with Fedora 11, and KVM in RHEL-5.4 is also pretty close to that using what's best described as a hybrid of kvm-83 and kvm-84."