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 ESX 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 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||Not supported||Not supported|
|Red Hat Enterprise Linux 6||Not supported|
|Red Hat Enterprise Linux 7|
|Red Hat Enterprise Linux 8||Not supported|
|Red Hat Enterprise Linux 9||Not supported||Not supported|
|SUSE Linux Enterprise Server 11, SP4 and later ||On RHEL 7.7 and later|
|SUSE Linux Enterprise Server 12|
|SUSE Linux Enterprise Server 15|
|Windows 8||Not supported||Not supported|
|Windows 8.1||Not supported||Not supported|
|Windows 11||Not supported||Not supported||Not supported|
|Windows Server 2008||Not supported||Not supported|
|Windows Server 2008 R2||Not supported||Not supported|
|Windows Server 2012||Not supported||Not supported|
|Windows Server 2012 R2||Not supported|
|Windows Server 2016|
|Windows Server 2019|
|Windows Server 2022||Not supported||Not supported||Not supported|
|Debian ||Technology Preview in RHEL 7.4 and later||Technology Preview||Technology Preview|
|Ubuntu ||Technology Preview in RHEL 7.4 and later||Technology Preview||Technology Preview|
 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.
 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 Debian or Ubuntu VMware 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 / ESX(i) - versions 6.0, 6.5, 6.7 and 7.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
The following v2v features are not supported by Red Hat, and therefore discouraged to use for v2v conversion:
- Direct output to RHV (using the -o rhv-upload option)
- Importing virtual machines using the VMware Virtual Disk Development Kit (VDDK).
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:
- Converting a VMware vCenter Linux virtual machine to KVM
- Converting a VMware vCenter Windows machine to KVM
- Converting a Linux machine on a Xen hypervisor to KVM
- Export a virtual machine from VMware as an OVA file, and import it into KVM
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.