This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] PATCH 0/3: Direct linux kernel boot for HVM

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] PATCH 0/3: Direct linux kernel boot for HVM
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 19 Dec 2007 14:43:15 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Dec 2007 06:44:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071219130036.GA16524@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchCTXyTu1yRja5AEdyOmwAX8io7RQ==
Thread-topic: [Xen-devel] PATCH 0/3: Direct linux kernel boot for HVM
User-agent: Microsoft-Entourage/
On 19/12/07 13:00, "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:

> It is the latter - just to allow boot from external kernl/initrd/params.
> This is basically making
>    qemu-dm -kernel /path/to/vmlinux -initrd /path/initrd -append 'someargs'
> work in Xen the same way it works in current upstream QEMU.
> Currently this hooks in QEMU's boot by writing a fake MBR into the first
> harddisk. Once anthony's option ROM patch is accepted upstream they could
> be leveraged to get rid of the MBR hook (indeed anthony's patches include
> this optimization). This is only a very minor part of the code though, so
> the bulk of this patch would still remain.

The patches look fine to me in principle, especially if a lot of the code is
in upstream qemu anyway. I'll do a deeper dive after 3.2.0.

 -- Keir

Xen-devel mailing list