Because xen virtualization will be replace by kvm on rhel6 so I have to migrate my server that running on xen virtual machine to kvm. after search on internet that have many documents and method to convert xen guest to kvm, I test migrate by manual method which is working well and easy to migrate.

My environment, I am running rhel5 xen kernel 2.6.18-92 guest and migrate to host running on the rhel5 kernel 2.6.18-168

Here are steps to migrate to kvm virtualization

1. comment HWADDR line on /etc/sysconfig/network-scripts/ifcfg-

2. change xvc0 to ttyS0 (if exist) in /etc/inittab, /etc/securetty, /boot/grub/grub.conf

3. change /dev/xvda (xvdb etc..) to /dev/hda (in case no virtio drivers or /dev/vda with virtio) in /boot/grub/device.map, /etc/fstab

if you map device with partition label (LABEL=SWAP-sda2 /swap in fstab for example) you can change partition lable with command "e2label