From: Ian Campbell Subject: Re: [Xen-devel] [RFC PATCH V4 1/2] xen: pass kernel initrd to qemu Date: Thu, 3 Jul 2014 09:57:02 +0100 Message-ID: <1404377822.14152.5.camel@kazak.uk.xensource.com> References: <1404198361-5795-1-git-send-email-cyliu@suse.com> <1404198361-5795-2-git-send-email-cyliu@suse.com> <1404314181.8137.7.camel@kazak.uk.xensource.com> <53B531A70200006600043470@soto.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53B531A70200006600043470@soto.provo.novell.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Chun Yan Liu Cc: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-02 at 20:34 -0600, Chun Yan Liu wrote: > > >>> On 7/2/2014 at 11:16 PM, in message > <1404314181.8137.7.camel@kazak.uk.xensource.com>, Ian Campbell > 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. But none of the parameters given would cause it to be so, would they? I think if you were to paste exactly that into a cfg file you would end up with a PV guest. Specifically it is missing: builder="hvm" Ian.