From Fedora Project Wiki

No edit summary
(133 intermediate revisions by 17 users not shown)
Line 1: Line 1:
== Virtualization ==
[[Category:Docs Project]]
[[Category:Draft documentation]]
[[Category:Documentation beats]]


Virtualization in Fedora 10 includes major changes, and new features, that continue to support KVM, Xen, and many other virtual machine platforms.
== AArch64 QEMU/KVM VM installation with libvirt and virt-manager support ==
 
You may now use '''libvirt''' and '''virt-manager''' to install a virtual machine on the AArch64 architecture with the KVM hypervisor.  
=== Unified Kernel Image ===


The <code>kernel-xen</code> package has been obsoleted by the integration of paravirtualization operations in the upstream kernel. The <code>kernel</code> package 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.  
Instructions are available here:
* https://fedoraproject.org/wiki/Architectures/AArch64/Install_with_QEMU
* https://fedoraproject.org/wiki/QA:Testcase_Virt_AArch64_on_x86


Booting a Xen domU guest within a Fedora 10 host requires the KVM based <code>xenner</code>. Xenner runs the guest kernel and a small Xen emulator together as a KVM guest.  
== UEFI VMs installation with libvirt and virt-manager support ==
UEFI install options are now automatically available if UEFI/OVMF binaries are installed.  


{{Admon/important | KVM requires hardware virtualization features in the host system.| Systems lacking hardware virtualization do not support Xen guests at this time. }}
Instructions are available here:


For more information refer to:  
* https://fedoraproject.org/wiki/QA:Testcase_Virtualization_UEFI
* https://fedoraproject.org/wiki/Using_UEFI_with_QEMU


* http://sourceforge.net/projects/kvm
== RBD and Gluster support with virt-install and virt-manager ==
* http://kraxel.fedorapeople.org/xenner/
* http://fedoraproject.org/wiki/Features/XenPvops
* http://fedoraproject.org/wiki/Features/XenPvopsDom0


=== Virtualization Storage Management ===
'''virt-manager''' and '''virt-install''' is now supported for RBD and Gluster storage. Both tools can now
 
easily use pre-configured gluster and rbd storage volumes.
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 and 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 remotely provision new guest domains, and manage the storage associated with them. It provides improved SELinux integration, since the APIs 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 <code>qemu-img</code> (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 (<code>virt_image_t</code>) to all volumes when associating with a guest.
 
For further details refer to:
 
* http://fedoraproject.org/wiki/Features/VirtStorage
* http://libvirt.org/storage.html -- libvirt Storage Management
* http://virt-manager.et.redhat.com/page/StorageManagement -- virt-manager Storage Management
* http://kvm.qumranet.com/kvmwiki/Virtio
 
 
 
=== Other Improvements ===
 
Fedora also includes the following virtualization improvements:
* TODO
 
==== libvirt Updated to 0.6.0 ====
 
The <code>libvirt</code> package provides an API and tools to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The <code>libvirt</code> software is designed to be a common denominator among all virtualization technologies with support for the following:
 
* The Xen hypervisor on Linux and Solaris hosts.
* The QEMU emulator
* The KVM Linux hypervisor
* The LXC Linux container system
* The OpenVZ Linux container system
* Storage on IDE/SCSI/USB disks, FibreChannel, LVM, iSCSI, and NFS
 
'''New features and improvements since 0.4.6:'''
* thread safety of the API and event handling
* allow QEmu domains to survive daemon restart
* extended logging capabilities
* support copy-on-write storage volumes
* support of storage cache control options for QEmu/KVM
* driver infrastructure and locking
* Test driver infrastructure
* parallelism in the daemon and associated config
* virsh help cleanups
* logrotate daemon logs
* more regression tests
* QEmu SDL graphics
* add --version flag to daemon
* memory consumption cleanup
* QEmu pid file and XML states for daemon restart
* gnulib updates
* PCI passthrough for KVM
* generic internal thread API
* RHEL-5 specific Xen configure option and code
* save domain state as string in status file
* add locking to all API entry points
* new ref counting APIs
* IP address for Xen bridges
* driver format for disk file types
* improve QEmu/KVM tun/tap performances
* enable floppies for Xen fully virt
* support VNC password settings for QEmu/KVM
* qemu driver version reporting
 
There were also dozens of cleanups, documentation enhancements, portability and bug fixes.
 
For further details refer to:
 
http://www.libvirt.org/news.html
 
==== virt-manager Updated to 0.6.1 ====
The <code>virt-manager</code> package provides a GUI implementation of <code>virtinst</code> and <code>libvirt</code> functionality.
 
'''New features and improvements since 0.6.0:'''
* VM disk and network stats reporting (Guido Gunther)
* VM Migration support (Shigeki Sakamoto)
* Support for adding sound devices to an existing VM
* Enumerate host devices attached to an existing VM
* Allow specifying a device model when adding a network device to an existing VM
* Combine the serial console view with the VM Details window
* Allow connection to multiple VM serial consoles
* Bug fixes and many minor improvements.
 
For further details refer to:
 
http://virt-manager.et.redhat.com/
 
==== virtinst Updated to 0.400.1 ====
The <code>python-virtinst</code> package contains tools for installing and manipulating multiple VM guest image formats.
 
'''New features and improvements since 0.400.0:'''
* Add virt-image -> vmx support to virt-convert, replacing virt-pack (Joey Boggs)
* Add disk checksum support to virt-image (Joey Boggs)
* Enhanced URL install support: Debian Xen paravirt, Ubuntu kernel and boot.iso, Mandriva kernel, and Solaris Xen Paravirt (Guido Gunther, John Levon, Cole Robinson)
* Expanded test suite
* Numerous bug fixes, cleanups, and minor improvements
 
For further details refer to:
 
* http://virt-manager.et.redhat.com/
 
==== Xen Updated to 3.3.1 ====
Fedora 11 supports booting as a guest domU, but will not function as a dom0 until such support is provided in the upstream kernel. Support for a <code>pv_ops</code> dom0 is targeted for Xen 3.4.
 
'''Changes since 3.3.0:'''
* TODO
 
For further details refer to:
 
* http://www.xen.org/download/roadmap.html -- Xen roadmap
* http://xenbits.xen.org/paravirt_ops/patches.hg/ -- paravirt_ops patch queue

Revision as of 06:56, 17 May 2015


AArch64 QEMU/KVM VM installation with libvirt and virt-manager support

You may now use libvirt and virt-manager to install a virtual machine on the AArch64 architecture with the KVM hypervisor.

Instructions are available here:

UEFI VMs installation with libvirt and virt-manager support

UEFI install options are now automatically available if UEFI/OVMF binaries are installed.

Instructions are available here:

RBD and Gluster support with virt-install and virt-manager

virt-manager and virt-install is now supported for RBD and Gluster storage. Both tools can now easily use pre-configured gluster and rbd storage volumes.