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: Rene Rebe
Subject: Re: [Qemu-devel] [PATCH] Add multi-boot kernel loading support
Date: Tue, 03 Feb 2009 15:00:57 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080616)

Paul Brook wrote:
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.

Hm. As I'm not yet memorized the Qemu code and and build system
maybe someone wants to shape the existing option rom code
in the way envisioned to base this patch series on?

Another option would also to apply (a cleaned up) version
of the patch as it is quite local and intrusive code and
someone else further re-factors it into an externally built
option rom?


Greetings,

--
  René Rebe - ExactCODE GmbH - Europe, Germany, Berlin
  http://exactcode.de | http://t2-project.org | http://rene.rebe.name




reply via email to

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