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
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.