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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Feb-24 16:52 UTC
Re: [Xen-devel] Use paravirtualized kernel with HVM-image?
--- On Tue, 2/24/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: [Xen-devel] Use paravirtualized kernel with HVM-image? To: "xen-devel" <xen-devel@lists.xensource.com> 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Boris Derzhavets
2009-Feb-24 19:57 UTC
Re: [Xen-devel] Use paravirtualized kernel with HVM-image?
View also (if needed) procedure in details:- http://lxer.com/module/newswire/view/114282/index.html --- On Tue, 2/24/09, Boris Derzhavets <bderzhavets@yahoo.com> wrote: From: Boris Derzhavets <bderzhavets@yahoo.com> Subject: Re: [Xen-devel] Use paravirtualized kernel with HVM-image? To: "xen-devel" <xen-devel@lists.xensource.com>, "Jun Koi" <junkoi2004@gmail.com> Date: Tuesday, February 24, 2009, 11:52 AM --- On Tue, 2/24/09, Jun Koi <junkoi2004@gmail.com> wrote: From: Jun Koi <junkoi2004@gmail.com> Subject: [Xen-devel] Use paravirtualized kernel with HVM-image? To: "xen-devel" <xen-devel@lists.xensource.com> 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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tian, Kevin
2009-Feb-25 01:30 UTC
RE: [Xen-devel] Use paravirtualized kernel with HVM-image?
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>From: Jun Koi >Sent: Wednesday, February 25, 2009 12: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'' > > >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 >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel