Use paravirtualized kernel with HVM-image?
Hi,
I have a HVM image, installed Ubuntu 8.10. Now I want to use this image with 2.6.18-xen kernel (from Xen-3.3.1). So I replace the below configuration:
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
device_model='/usr/lib/xen/bin/qemu-dm'
With:
kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = '/boot/initrd.img-2.6.18.8-xen'
The remaining configuration is unchanged.
But then when I tried to create a VM with the new configuration, the VM crashed when booting kernel. How can I fix the problem?
Thanks,
Jun
--- On Tue, 2/24/09, Jun Koi <[email protected]> wrote:
From: Jun Koi <[email protected]>
Subject: [Xen-devel] Use paravirtualized kernel with HVM-image?
To: "xen-devel" <[email protected]>
Date: Tuesday, February 24, 2009, 11:26 AM
Hi,
I have a HVM image, installed Ubuntu 8.10. Now I want to use this image with 2.6.18-xen kernel (from Xen-3.3.1). So I replace the below configuration:
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
device_model='/usr/lib/xen/bin/qemu-dm'
/* With:
kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = '/boot/initrd.img-2.6.18.8-xen'
*/
****************************************************
1. Performed Interpid Server HVM install on /dev/sda9 via standard hvm-profile.
2. Created intrepid.pyrun
memory = 2048
name = "IntrepidPV" bootloader="/usr/bin/pygrub"
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sda9,xvda,w']
vfb = ['type=vnc,vncunused=1']
# xm create intrepid.pyrun # vncviewer localhost:0
Boris.
**************************************************
The remaining configuration is unchanged.
But then when I tried to create a VM with the new configuration, the VM crashed when booting kernel. How can I fix the problem?
Thanks,
Jun
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
View also (if needed) procedure in details:-
http://lxer.com/module/newswire/view/114282/index.html
--- On Tue, 2/24/09, Boris Derzhavets <[email protected]> wrote:
From: Boris Derzhavets <[email protected]>
Subject: Re: [Xen-devel] Use paravirtualized kernel with HVM-image?
To: "xen-devel" <[email protected]>, "Jun Koi" <[email protected]>
Date: Tuesday, February 24, 2009, 11:52 AM
--- On Tue, 2/24/09, Jun Koi <[email protected]> wrote:
From: Jun Koi <[email protected]>
Subject: [Xen-devel] Use paravirtualized kernel with HVM-image?
To: "xen-devel" <[email protected]>
Date: Tuesday, February 24, 2009, 11:26 AM
Hi,
I have a HVM image, installed Ubuntu 8.10. Now I want to use this image with 2.6.18-xen kernel (from Xen-3.3.1). So I replace the below configuration:
kernel = '/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
device_model='/usr/lib/xen/bin/qemu-dm'
/* With:
kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = '/boot/initrd.img-2.6.18.8-xen'
*/
****************************************************
1.
Performed Interpid Server HVM install on /dev/sda9
via standard hvm-profile.
2. Created intrepid.pyrun
memory = 2048
name = "IntrepidPV" bootloader="/usr/bin/pygrub"
vif = [ 'bridge=eth0' ]
disk = [ 'phy:/dev/sda9,xvda,w']
vfb = ['type=vnc,vncunused=1']
# xm create intrepid.pyrun # vncviewer localhost:0
Boris.
**************************************************
The remaining configuration is unchanged.
But then when I tried to create a VM with the new configuration, the VM crashed when booting kernel. How can I fix the problem?
Thanks,
Jun
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
It's similar to what Jun Nakajima proposed as hybrid virtualization:
http://ols.108.redhat.com/2007/Reprints/nakajima-Reprint.pdf
However it's not a simple replace-with-pv-kernel action, since pv kernel and unmodified linux kernel expects different low level interfaces
Thanks,
Kevin
Quoted 32 lines
From: Jun Koi
Sent: Wednesday, February 25, 2009 12:26 AMHi,
I have a HVM image, installed Ubuntu 8.10. Now I want to use this image with 2.6.18-xen kernel (from Xen-3.3.1). So I replace the below configuration:
kernel = '
/usr/lib/xen/boot/hvmloader'
builder = 'hvm'
device_model='/usr/lib/xen/bin/qemu-dm'With:
kernel = "/boot/vmlinuz-2.6.18.8-xen"
ramdisk = '/boot/initrd.img-2.6.18.8-xen'The remaining configuration is unchanged.
But then when I tried to create a VM with the new configuration, the VM crashed when booting kernel. How can I fix the problem?
Thanks,
Jun_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel