Converting virtual machines from other hypervisors to KVM with virt-v2v in RHEL 7, RHEL 8, and RHEL 9

Updated -

The virt-v2v tool converts virtual machines (VMs) from foreign hypervisors, including their disk images and metadata, for use with Red Hat Enterprise Linux with KVM managed by libvirt, Red Hat Virtualization, and Red Hat OpenStack Platform. virt-v2v can convert Red Hat Enterprise Linux and Windows VMs running on Xen and VMware ESXi environments.

This article provides an overview of VM conversions and links to procedures for specific types of conversions.

virt-v2v is included in Red Hat Enterprise Linux 7 (RHEL 7), Red Hat Enterprise Linux 8 (RHEL 8), and Red Hat Enterprise Linux 9 (RHEL 9), and is installed with the virt-v2v package. In Red Hat Enterprise Linux 7, virt-v2v is also available from the Red Hat OpenStack Platform channel.

Important: virt-v2v is currently only supported on the AMD64 and Intel 64 architecture, also known as x86_64. All other architectures, including IBM Z, IBM POWER, and 64-bit ARM are not supported for v2v conversion.

Supported conversions

Supported guest operating systems for conversions

Only virtual machines running specific guest operating systems can be converted by virt-v2v to run on KVM. This also differs when using virt-v2v on RHEL 7, on RHEL 8, and on RHEL 9:

Guest OS RHEL 7 host RHEL 8 host RHEL 9 host
Red Hat Enterprise Linux 5 Supported Not supported Not supported
Red Hat Enterprise Linux 6 Supported Supported Not supported
Red Hat Enterprise Linux 7 Supported Supported Supported
Red Hat Enterprise Linux 8 Not supported Supported Supported
Red Hat Enterprise Linux 9 Not supported Not supported Supported
SUSE Linux Enterprise Server 11, SP4 and later [1] Supported On RHEL 7.7 and later Not supported Not supported
SUSE Linux Enterprise Server 12 Supported Supported Supported
SUSE Linux Enterprise Server 15 Supported Supported Supported
Windows 8 Supported Not supported Not supported
Windows 8.1 Supported Not supported Not supported
Windows 10 Supported Supported Supported
Windows 11 Not supported Supported Supported
Windows Server 2008 Supported Not supported Not supported
Windows Server 2008 R2 Supported Not supported Not supported
Windows Server 2012 Supported Not supported Not supported
Windows Server 2012 R2 Supported Not supported Not supported
Windows Server 2016 Supported Supported Supported
Windows Server 2019 Supported Supported Supported
Windows Server 2022 Not supported Supported Supported
Debian [2] Technology Preview in RHEL 7.4 and later Technology Preview Technology Preview
Ubuntu [2] Technology Preview in RHEL 7.4 and later Technology Preview Technology Preview

[1] Virtual machines that use X graphics and a SUSE Linux Enterprise Server 11 operating system should be re-adjusted after the conversion for the graphics to work properly. To do so, use the sax2 distribution tool in the guest OS after the migration is finished.
[2] As a Technology Preview, converting Debian and Ubuntu VMs is not supported. In addition, This conversion currently has the following known issues:
* virt-v2v cannot change the default kernel in the GRUB2 configuration, and the kernel configured in the VM is not changed during the conversion, even if a more optimal version of the kernel is available on the VM.
* After converting a linux virtual machine to KVM, the name of the VM's network interface may change, and thus requires manual configuration.

Note: virt-v2v conversions of any operating system not listed above may in some cases work, but are not supported by Red Hat.

Supported hypervisors for conversion

Conversions from the following hypervisors are supported:

  • Red Hat Enterprise Linux 5 Xen
  • VMware vSphere ESX(i) - versions 6.0, 6.5, 6.7, 7.0, and 8.0

Note: virt-v2v conversions from any hypervisor not listed above may in some cases work, but are not supported by Red Hat.

Other considerations for V2V conversion support

Virtual machines that use the UEFI firmware are currently supported for conversion only to the following KVM hypervisors:

  • Red Hat Virtualization 4.2 and later - this requires virt-v2v version 1.39.12 or later
  • RHEL 7, RHEL 8, and RHEL 9
  • Red Hat OpenStack Platform

Note, however, that these features are supported when using the Infrastructure Migration Solution.

How to perform the V2V conversion?

The specific steps for preparing and performing the v2v conversion can differ based on the VM's guest OS and original hypervisor. For details about specific conversions, see one of the following:

Related Links

For information on converting a virtual machine to run on Red Hat Virtualization, see Importing a Virtual Machine from a VMware Provider.

For information on converting a virtual machine to run on Red Hat OpenStack Platform, see Converting VMware virtual machines to import to Red Hat OpenStack Platform.

For information on converting a physical machine from another hypervisor with virt-v2v and virt-p2v, see Converting physical machines to KVM virtual machines using virt-p2v in RHEL7.

Comments