Installation guide

Converting virtualized guests
175
1. From the Red Hat Enterprise Virtualization Manager, Login to Red Hat Network
2. Click on Download Software
3. Select the Red Hat Enterprise Virtualization (x86-64) channel
4. Select the Red Hat Enterprise Virt Manager for Desktops (v.2 x86) or Red Hat Enterprise
Virt Manager for Desktops (v.2 x86) channel, as appropriate for your subscription.
5. Download Guest Tools ISO for 2.2 and save it locally
2. Upload the Guest Tools ISO to the Red Hat Enterprise Virtualization Manager
Upload the Guest Tools ISO using the ISO Uploader. See the Red Hat Enterprise Virtualization for
Servers Administration Guide for instructions.
3. Ensure that the libguestfs-winsupport package is installed on the host running virt-v2v. This
package provides support for NTFS, which is used by many Windows systems. If you attempt to
convert a virtualized guest using NTFS without the libguestfs-winsupport package installed, the
conversion will fail.
4. Ensure that the virtio-win package is installed on the host running virt-v2v. This package
provides para-virtualized block and network drivers for Windows guests. If you attempt to convert
a virtualized guest running Windows without the virtio-win package installed, the conversion will
fail giving an error message concerning missing files.
Preparing to convert a local Xen virtualized guest
The following is required when converting virtualized guests on a host which used to run Xen, but has
been updated to run KVM. It is not required when converting a Xen guest imported directly from a
running libvirt/Xen instance.
1. Obtain the XML for the virtualized guest
virt-v2v uses a libvirt domain description to determine the current configuration of the
virtualized guest, including the location of its storage. Before starting the conversion, obtain this
from the host running the virtualized guest with the following command:
virsh dumpxml vm-name > vm-name.xml
This will require booting into a Xen kernel to obtain the XML, as libvirt needs to connect to a
running Xen hypervisor to obtain its metadata. The conversion process is optimized for KVM, so
obtaining domain data while running a Xen kernel, then performing the conversion using a KVM
kernel will be more efficient than running the conversion on a Xen kernel.
23.2. Converting virtualized guests
Once you have prepared to convert the virtualized guests, use virt-v2v to perform the actual
conversions. This section provides the steps to convert the virtualized guests, and the reference table
for virt-v2v. Note that conversions are resource intensive processes, involving copying the whole
disk image for a virtualized guest. In typical environments, converting a single virtualized guest takes
approximately 5-10 minutes.
23.2.1. virt-v2v
virt-v2v converts guests from a foreign hypervisor to run on KVM, managed by libvirt.