Skip to contentSkip to conversation

Migrating from Xen 3.2 to KVM

DISCUSSION Mike Power 4 participants 4 messages Jan 9, 2009 KVM

lore
Share & tools
lore

Mike Power

author
#0 lore raw

Hello,

I currently (I think) have XP installed on an LVM
volume /dev/mapper/vol_group1-windows. I have been trying to power this VM up on KVM (Ubuntu 8.10 dropped Xen). Come to think of it I am not even sure if the on disk format KVM expects is the same the Xen wrote to disk.

What is the likely hood that I will succeed?

At this time using the attached config file I boot up into the windows boot strap. I immediately hit the safe mode menu. Once I step pass the safe mode menu then the vm reboots. Known problem?

Mike Power

#1 lore raw
Quoted 8 lines · On Friday 09 January 2009 15:41:27 Mike Power wrote:

Hello,

I currently (I think) have XP installed on an LVM
volume /dev/mapper/vol_group1-windows. I have been trying to power this VM up on KVM (Ubuntu 8.10 dropped Xen). Come to think of it I am not even sure if the on disk format KVM expects is the same the Xen wrote to disk.

Quoted 6 lines

What is the likely hood that I will succeed?

At this time using the attached config file I boot up into the windows boot strap. I immediately hit the safe mode menu. Once I step pass the safe mode menu then the vm reboots. Known problem?

Hi Mike

Did you use some Xen specific driver in the image? If so, that's a problem... You can post dmesg here also.

Quoted 1 line

From the description above, I think you are using KVM distributed by Ubuntu? I

checked KVM version from Ubuntu upstream, seems it's kvm-72, and now it's kvm-82... You can refer to http://kvm.qumranet.com/kvmwiki/HOWTO1 to try new KVM release.

Signature · 2 lines
regards
Yang, Sheng
#2 lore raw
In reply to Mike Power
Quoted 8 lines · Mike Power

Hello,

I currently (I think) have XP installed on an LVM
volume /dev/mapper/vol_group1-windows. I have been trying to power this VM up on KVM (Ubuntu 8.10 dropped Xen). Come to think of it I am not even sure if the on disk format KVM expects is the same the Xen wrote to disk.

Quoted 6 lines

What is the likely hood that I will succeed?

At this time using the attached config file I boot up into the windows boot strap. I immediately hit the safe mode menu. Once I step pass the safe mode menu then the vm reboots. Known problem?

Ubuntu recently updated their KVM docs, maybe some hints in there:
https://help.ubuntu.com/community/KVM

Also, Boris has some Ubuntu Xen Howtos, if you are simply looking to upgrade Xen.
http://bderzhavets.blogspot.com/2009/01/setup-xen-3.html
http://bderzhavets.wordpress.com/2008/11/13/backport-intrepid-xen-33-hypervisor-at-ubuntu-hardy-dom0-2624-21-xen/

Hope that helps.

Cheers,
Todd

Signature · 3 lines
Todd Deshane
http://todddeshane.net
http://runningxen.com
#3 lore raw
In reply to Mike Power
Quoted 9 lines · Mike Power

Hello,

I currently (I think) have XP installed on an LVM
volume /dev/mapper/vol_group1-windows. I have been trying to power this VM up on KVM (Ubuntu 8.10 dropped Xen). Come to think of it I am not even sure if the on disk format KVM expects is the same the Xen wrote to disk.

If you're using an lvm volume. the on-disk format is the same.

Quoted 2 lines

What is the likely hood that I will succeed?

I'm surprised it failed -- kvm and Xen use the same device model (qemu) so they should be highly compatible.

Quoted 4 lines

At this time using the attached config file I boot up into the windows boot strap. I immediately hit the safe mode menu. Once I step pass the safe mode menu then the vm reboots. Known problem?

Anything interesting in dmesg? Any Xen specific drivers installed?

Signature · 2 lines
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.