Ask Your Question
5

Is it possible to migrate a VM between heterogeneous hypervisors?

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

Abhijeet Gaikwad gravatar image

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

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
7

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

ShillaSaebi gravatar image

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

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.

http://ettore.trevisiol.net/files/xentokvm.pdf

https://www.suse.com/documentation/sles11/singlehtml/art_sles_xen2kvmquick/art_sles_xen2kvmquick.html

The virt-v2v tool might also prove useful: http://libguestfs.org/virt-v2v/

edit flag offensive delete link more

Comments

is virt-v2v available for ubuntu?

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

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

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

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

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

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

Abhijeet Gaikwad gravatar image

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

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

Comments

1

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

4 followers

Stats

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

Seen: 1,603 times

Last updated: Mar 12 '14