qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Xen-devel] [RFC PATCH V4 1/2] xen: pass kernel initrd


From: Chun Yan Liu
Subject: Re: [Qemu-devel] [Xen-devel] [RFC PATCH V4 1/2] xen: pass kernel initrd to qemu
Date: Wed, 02 Jul 2014 20:34:15 -0600


>>> On 7/2/2014 at 11:16 PM, in message
<address@hidden>, Ian Campbell
<address@hidden> wrote: 
> On Tue, 2014-07-01 at 15:06 +0800, Chunyan Liu wrote: 
> > xen side patch to support xen HVM direct kernel boot: 
> > support 'kernel', 'ramdisk', 'cmdline' (and 'root', 'extra' as well 
> > which would be deprecated later) in HVM config file, parse config file, 
> > pass -kernel, -initrd, -append parameters to qemu. 
> >  
> > It's working with qemu-xen when using the default BIOS (seabios). 
> >  
> > [config example] 
> > kernel="/mnt/vmlinuz-3.0.13-0.27-default" 
> > ramdisk="/mnt/initrd-3.0.13-0.27-default" 
> > root="/dev/hda2" 
> > extra="console=tty0 console=ttyS0" 
>  
> Is this example complete? I think it will create a PV guest which isn't 
> what you are trying to demonstrate. 

This is a HVM example.
For PV guest, it already supports direct kernel boot before this patch, so
use as before. No changes in config file.
I'll update the examples after readding 'cmdline' parameter.

Thank you.
-Chunyan

>  
> Ian. 
>  
>  
> _______________________________________________ 
> Xen-devel mailing list 
> address@hidden 
> http://lists.xen.org/xen-devel 
>  
>  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]