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:
- Retrieve guest configuration (xml) from the hypervisor
- Export a disk image
- Modify the disk image
- Create a guest on the target hypervisor
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
xorg.conf file, rebuilding initrd, removing ...