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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.