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

Keir Fraser
Wed, 19 Dec 2007 14:43:15 -0000

On 19/12/07 13:00, "Daniel P. Berrange" <berrange@redhat.com>
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