How does virt-v2v work?

In order to convert a virtual machine from foreign hypervisors to run on KVM hypervisors, the virt-v2v utility performs the following steps:

  1. Retrieve guest configuration (xml) from the hypervisor
  2. Export a disk image
  3. Modify the disk image
  4. Create a guest on the target hypervisor

Note

virt-v2v connects to the target hypervisor using libvirt, retrieves the specified virtual machine configuration and disk path, and then transfers the disk image over the network to the conversion server. Next, we will modify this image to install a virtio driver (network and block). We will then update the guest operating system configuration to match the KVM environment that includes updating the /etc/fstab and xorg.conf file, rebuilding initrd, removing ...

Get Mastering KVM Virtualization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.