23.2.5. Converting a virtualized guest running Windows
Virtualized guests running Windows can only be converted for output to Red Hat Enterprise Virtualization. The conversion procedure depends on post-processing by the Red Hat Enterprise Virtualization Manager for completion. See Section 23.4.2, “Configuration changes for Windows virtualized guests”
for details of the process. Virtualized guests running Windows cannot be converted for output to libvirt.
This example demonstrates converting a local Xen virtualized guest running Windows for output to Red Hat Enterprise Virtualization. Ensure that the virtualized guest's XML is available locally, and that the storage referred to in the XML is available locally at the same paths.
To convert the virtualized guest from an XML file, run:
virt-v2v -i libvirtxml -o rhev -osd storage.example.com:/exportdomain --network rhevm vm-name.xml
vm-name.xml is the path to the virtualized guest's exported xml, and
storage.example.com:/exportdomain is the export storage domain. You may also use the
--network parameter to connect to a locally managed network, or specify multiple mappings in
If your guest uses a Xen para-virtualized kernel (it would be called something like kernel-xen or kernel-xenU),
virt-v2v will attempt to install a new kernel during the conversion process. You can avoid this requirement by installing a regular kernel, which won't reference a hypervisor in its name, alongside the Xen kernel prior to conversion. You should not make this newly installed kernel your default kernel, because Xen will not boot it.
virt-v2v will make it the default during conversion.