qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Add multi-boot kernel loading support


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] Add multi-boot kernel loading support
Date: Tue, 3 Feb 2009 13:01:31 +0000
User-agent: KMail/1.9.9

On Monday 02 February 2009, Rene Rebe wrote:
> Hi all,
>
> Alexander Graf implemented multi-boot kernel loading during
> his work to run Darwin inside Qemu/KVM. As the boot loader
> expects to load the kernel in an EFI environment a custom
> booter is used to load the kernel using a legacy BIOS.
>
> This is a port of the patch to the new extload / INT 19
> machinery (including minor cleanups).

This is introducing quite a lot of nontrivial target code in a hard to 
understand and maintain way. This seems like a bad idea.

I suspect it would be better to implement this as an actual boot rom, and have 
it read arguments from the firmware device. Ideally the same rom would also 
cover the linux kernel case.

Paul




reply via email to

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