Ask Your Question

Is it possible to migrate a VM between heterogeneous hypervisors?

asked 2013-11-21 08:44:40 -0600

Abhijeet Gaikwad gravatar image

updated 2013-12-06 10:42:48 -0600

is it possible to migrate a VM deployed on XEN to KVM ? if not, then is anyone working on such project?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-11-21 09:32:33 -0600

ShillaSaebi gravatar image

updated 2013-11-21 18:51:44 -0600

Check out the links below, they can help guide you through the conversion of Xen to KVM. It's my understanding that when converting Xen to KVM, it can't be done as a live migration.

The virt-v2v tool might also prove useful:

edit flag offensive delete link more


is virt-v2v available for ubuntu?

Abhijeet Gaikwad gravatar imageAbhijeet Gaikwad ( 2014-02-23 09:32:32 -0600 )edit
sgordon gravatar imagesgordon ( 2014-02-25 08:33:28 -0600 )edit

does virt-v2v also restores the memory and cpu state ?

Abhijeet Gaikwad gravatar imageAbhijeet Gaikwad ( 2014-03-15 05:34:57 -0600 )edit

Per the answer, it's not a live migration, so no.

sgordon gravatar imagesgordon ( 2014-03-15 21:10:02 -0600 )edit

answered 2014-02-28 11:41:16 -0600

Abhijeet Gaikwad gravatar image

updated 2014-03-12 05:27:25 -0600

what i did is , i created a virtual machine on xen using virt-manager, installed ubuntu 12.04 on it then installed grub on it,installed some packages and created some dummy files, and then turned off the virtual machine, then using NFS i shared the .img i.e the storage with another machine with kvm installed on it, then deployed a virtual machine with same configurations on the kvm machine and just used the shared .img file as storage while creating the VM and it worked !!!! .

Note: when i started the virtual machine for the first time using virt-manager on KVM machine , it promted to try ubuntu or install it, but when i rebooted it, it booted the OS with previously installed settings (i.e along with the user accounts, packages and dummy files that i created when the VM ran on Xen)

so what is the need of using tools like virt-v2v for conversion if we can directly use the storage ?

edit flag offensive delete link more



For many guests you can't just copy the storage, virt-v2v uses libguestfs to perform modifications to the guest such as installing the virtio drivers to ensure it will run on the target hypervisor (this is particularly an issue for Windows guests).

sgordon gravatar imagesgordon ( 2014-03-15 21:08:23 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2013-11-21 08:44:40 -0600

Seen: 1,737 times

Last updated: Mar 12 '14