I did a lot of searching for the right way to migrate a KVM instance to Xen. Much of it was outdated with many unneccessary steps. Here is what works for me. I am using Openstack with KVM
I needed to migrate a debian image. Set the devices to xvda and xvdb
cat /etc/fstab
# /etc/fstab: static file system information.
proc /proc proc nodev,noexec,nosuid 0 0
/dev/xvda1 / ext3 errors=remount-ro 0 1
/dev/xvdb none swap sw,comment=cloudconfig 0 0
Then edit the /boot/extlinux/extlinux.conf file. Same thing. Change vda to xvda
default linux
timeout 1
label linux
kernel boot/vmlinuz-3.16.0-4-amd64
append initrd=boot/initrd.img-3.16.0-4-amd64 root=/dev/xvda1 console=tty0 console=ttyS0,115200 ro quiet
Then export the image/create snapshot in raw.
glance image-download –progress –file rg1.img {imageID}
Convert the image from raw to vhd
qemu-img convert -O vpc rg1.img ssjumpbox.vhd
Copy the file to your xenserver.
Get your SR uuid.
xe sr-list
Create your vdi.
xe vdi-create sr-uuid=676301d4-4c16-e6a5-c90a-8e077b36bc name-label=rg1VM virtual-size=5GiB
Import your vdi with your new vdi uuid
xe vdi-import filename=ssjumpbox.vhd format=vhd –progress uuid=ee49c4df9-0d76-4ecf-b849-bb52d6fb7
Find your newly imported disk and attach it to your VM that you should have already created. Boot the VM.