From Fedora Project Wiki

(→‎Unified Kernel Image: use admon/important since an upgrade would break some users)
(→‎Improved Storage Management: Virtualization Storage Management)
Line 12: Line 12:
For more information refer to: [[Features/XenPvops]] and [[Features/XenPvopsDom0]].
For more information refer to: [[Features/XenPvops]] and [[Features/XenPvopsDom0]].


=== Improved Storage Management ===
=== Virtualization Storage Management ===
Previously/ Fedora introduced the ability to manage existing guest domains remotely using <code>libvirt</code>. It was not possible to create new guests due to the lack of storage management capabilities. There is now a new storage management capability that can create and delete storage volumes from a remote host using <code>libvirt</code>.
Advances in <code>libvirt</code> now provide the ability to list, create, and delete storage volumes on remote hosts. This includes the ability to create raw sparse & non-sparse files in a directory, allocate LVM logical volumes, partition physical disks, and attach to iSCSI targets.
 
 
This enables the <code>virt-manager</code> tool to remote provision new guest domains, and manage the storage associated with them. It provides improved SELinux integration, since the APIs will be able to ensure that all storage volumes have the correct SELinux security context when being assigned to a guest.
 
'''Features'''
* List storage volumes in a directory, and allocate new volumes, raw files both sparse and non-sparse, and formats supported by qemu-img (cow, qcow, qcow2, vmdk, etc)
* List partitions in a disk, and allocate new partitions from free space
* Connect to an iSCSI server and list volumes associated with an exported target
* List logical volumes in an LVM volume group, and allocate new LVM logical volumes
* Automatically assign correct SELinux security context label to all volumes when associating with a guest (ie, virt_image_t)
 
For further details see [[Features/VirtStorage]].
 
=== PolicyKit Integration ===
=== PolicyKit Integration ===
Previously, the <code>virt-manager</code> application ran as <code>root</code> when managing a local hypervisor, and used <code>consolehelper</code> to authenticate from a desktop session. Running GTK applications as root is bad practice. PolicyKit integration now permits running <code>virt-manager</code> as a regular user.
Previously, the <code>virt-manager</code> application ran as <code>root</code> when managing a local hypervisor, and used <code>consolehelper</code> to authenticate from a desktop session. Running GTK applications as root is bad practice. PolicyKit integration now permits running <code>virt-manager</code> as a regular user.

Revision as of 14:40, 4 October 2008

Virtualization

Virtualization in Fedora 10 includes major changes, and new features, that continue to support the Xen and KVM platforms.

Unified Kernel Image

The kernel-xen package has been obsoleted by the integration of paravirtualization operations in the upstream kernel. The kernel in Fedora 10 supports booting as a guest domU, but will not function as a dom0 until such support is provided upstream. The most recent Fedora release with dom0 support is Fedora 8.

Booting a Xen domU guest within a Fedora 10 host requires the KVM based xenner. Xenner runs the guest kernel and a small Xen emulator together as a KVM guest.

Important.png
KVM requires hardware virtualization features in the host system. Systems lacking hardware virtualization will not support Xen guests at this time.

For more information refer to: Features/XenPvops and Features/XenPvopsDom0.

Virtualization Storage Management

Advances in libvirt now provide the ability to list, create, and delete storage volumes on remote hosts. This includes the ability to create raw sparse & non-sparse files in a directory, allocate LVM logical volumes, partition physical disks, and attach to iSCSI targets.

This enables the virt-manager tool to remote provision new guest domains, and manage the storage associated with them. It provides improved SELinux integration, since the APIs will be able to ensure that all storage volumes have the correct SELinux security context when being assigned to a guest.

Features

  • List storage volumes in a directory, and allocate new volumes, raw files both sparse and non-sparse, and formats supported by qemu-img (cow, qcow, qcow2, vmdk, etc)
  • List partitions in a disk, and allocate new partitions from free space
  • Connect to an iSCSI server and list volumes associated with an exported target
  • List logical volumes in an LVM volume group, and allocate new LVM logical volumes
  • Automatically assign correct SELinux security context label to all volumes when associating with a guest (ie, virt_image_t)

For further details see Features/VirtStorage.

PolicyKit Integration

Previously, the virt-manager application ran as root when managing a local hypervisor, and used consolehelper to authenticate from a desktop session. Running GTK applications as root is bad practice. PolicyKit integration now permits running virt-manager as a regular user.

Other Improvements

Fedora also includes the following virtualization improvements:

  • storage and network paravirtual-drivers for KVM guests
  • full support for monitoring network and block statistics of QEMU and KVM in libvirt and virt-top, bringing parity with statistics monitoring, previously only available to Xen guests