[Top][All Lists]

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

[Qemu-devel] [PATCH] multiboot support

From: Alexander Graf
Subject: [Qemu-devel] [PATCH] multiboot support
Date: Thu, 8 Nov 2007 21:06:32 +0100


this patch adds very simple multiboot support for x86 as defined in http://www.gnu.org/software/grub/manual/multiboot/ using the -kernel switch.

There is no support for modules or command line parsing, as it would be required by XEN or HURD, but simple OSs already work when used in conjunction with this patch. Adding module support should be as simple as writing the modules into RAM and setting some information fields in the bootinfo structure (if anyone's interested in booting more than linux without a full-blown bootloader).

The only one I have tested so far is the boot2 darwin bootloader modified to work using multiboot by David F. Elliott, which worked fine bringing up first parts of a stock osx kernel.

I believe this patch does not break anything and is safe to be applied, whereas comments are (as always) welcome though.



Attachment: qemu-multiboot.patch
Description: Binary data

reply via email to

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