openstack-manuals/doc/config-reference/compute/section_hypervisor_qemu.xml
Arthur Berezin 4ee095da96 Removing mentioning of an old and resloved bug with QEMU.
Change-Id: Ibbc4e85f30b52c32e62fa7cfea8d2e3556cb1b71
2015-05-25 13:31:18 -04:00

55 lines
2.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="qemu">
<?dbhtml stop-chunking?>
<title>QEMU</title>
<para>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.</para>
<para>The typical uses cases for QEMU are<itemizedlist>
<listitem>
<para>Running on older hardware that lacks
virtualization support.</para>
</listitem>
<listitem>
<para>Running the Compute service inside of a virtual
machine for development or testing purposes, where
the hypervisor does not support native
virtualization for guests.</para>
</listitem>
</itemizedlist></para>
<para>To enable QEMU, add these settings to
<filename>nova.conf</filename>:<programlisting language="ini">compute_driver = libvirt.LibvirtDriver
[libvirt]
virt_type = qemu</programlisting></para>
<para>
For some operations you may also have to install the <command>guestmount</command> utility:</para>
<para>On Ubuntu:
<screen><prompt>#</prompt> <userinput>apt-get install guestmount</userinput></screen>
</para>
<para>On Red Hat Enterprise Linux, Fedora, or CentOS:
<screen><prompt>#</prompt> <userinput>yum install libguestfs-tools</userinput></screen>
</para>
<para>On openSUSE:
<screen><prompt>#</prompt> <userinput>zypper install guestfs-tools</userinput></screen>
</para>
<para>The QEMU hypervisor supports the following virtual machine image formats:</para>
<itemizedlist>
<listitem>
<para>Raw</para>
</listitem>
<listitem>
<para>QEMU Copy-on-write (qcow2)</para>
</listitem>
<listitem>
<para>VMware virtual machine disk format (vmdk)</para>
</listitem>
</itemizedlist>
</section>