[CentOS-virt] Xen to KVM migration

Mon Oct 12 17:30:24 UTC 2009
Dennis J. <dennisml at conversis.de>

On 10/12/2009 06:17 PM, Grant McWilliams wrote:
> On Mon, Oct 12, 2009 at 5:48 AM, Dennis J. <dennisml at conversis.de
> <mailto:dennisml at conversis.de>> wrote:
>     Hi,
>     I'm thinking about how to go about migrating our Xen VMs to KVM.
>     Migrating
>     the configuraton should be easy using the virsh dumpxml/define
>     commands but
>     what is the best way to transfer the (logical volume based) images
>     without
>     too much downtime for the guest system?
>     Can rsync operate on logical volumes? If so I could potentially use
>     "dd" to
>     transfer an initial copy of the image to the destination host and
>     then shut
>     down the guest, rsync the logical volumes which shouldn't take too
>     long as
>     not much data has to be transfered thanks to the initial "dd" and
>     then boot
>     the guest on the new machine.
>     Is something like this possible or would you do something different?
>     Regards,
>        Dennis
> Can't you just use the LV in place with KVM?

I may be wrong about this but isn't running KVM on top of the Xen 
hypervisor a problem? Maybe this has changed but I thought in order to be 
able to use KVM you first have to disable the Xen hypervisor and boot into 
the regular Kernel.