
Import the following files from the former config-reference [1]: api.rst cells.rst fibre-channel.rst hypervisor-basics.rst hypervisor-hyper-v.rst hypervisor-kvm.rst hypervisor-lxc.rst hypervisor-qemu.rst hypervisor-virtuozzo.rst hypervisor-vmware.rst hypervisor-xen-api.rst hypervisor-xen-libvirt.rst hypervisors.rst index.rst iscsi-offload.rst logs.rst resize.rst samples/api-paste.ini.rst samples/index.rst samples/policy.yaml.rst samples/rootwrap.conf.rst schedulers.rst The below files are skipped as they're already included, in slightly different forms, in the nova documentation. config-options.rst nova-conf-samples.rst nova-conf.rst nova.conf Part of bp: doc-migration Change-Id: I145e38149bf20a5e068f8cfe913f90c7ebeaad36
57 lines
1.4 KiB
ReStructuredText
57 lines
1.4 KiB
ReStructuredText
.. _compute_qemu:
|
|
|
|
====
|
|
QEMU
|
|
====
|
|
|
|
From the perspective of the Compute service, the QEMU hypervisor is
|
|
very similar to the KVM hypervisor. Both are controlled through libvirt,
|
|
both support the same feature set, and all virtual machine images that
|
|
are compatible with KVM are also compatible with QEMU.
|
|
The main difference is that QEMU does not support native virtualization.
|
|
Consequently, QEMU has worse performance than KVM and is a poor choice
|
|
for a production deployment.
|
|
|
|
The typical uses cases for QEMU are
|
|
|
|
* Running on older hardware that lacks virtualization support.
|
|
* Running the Compute service inside of a virtual machine for
|
|
development or testing purposes, where the hypervisor does not
|
|
support native virtualization for guests.
|
|
|
|
To enable QEMU, add these settings to ``nova.conf``:
|
|
|
|
.. code-block:: ini
|
|
|
|
compute_driver = libvirt.LibvirtDriver
|
|
|
|
[libvirt]
|
|
virt_type = qemu
|
|
|
|
For some operations you may also have to install the
|
|
:command:`guestmount` utility:
|
|
|
|
On Ubuntu:
|
|
|
|
.. code-block:: console
|
|
|
|
# apt-get install guestmount
|
|
|
|
On Red Hat Enterprise Linux, Fedora, or CentOS:
|
|
|
|
.. code-block:: console
|
|
|
|
# yum install libguestfs-tools
|
|
|
|
On openSUSE:
|
|
|
|
.. code-block:: console
|
|
|
|
# zypper install guestfs-tools
|
|
|
|
The QEMU hypervisor supports the following virtual machine image formats:
|
|
|
|
* Raw
|
|
* QEMU Copy-on-write (qcow2)
|
|
* VMware virtual machine disk format (vmdk)
|