]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
Multiboot support v5
authorAlexander Graf <agraf@suse.de>
Mon, 29 Jun 2009 13:37:39 +0000 (15:37 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 18:52:12 +0000 (13:52 -0500)
commitf16408dfb0eaef2b900caf731cab7e0b99623dd0
treef8b6bb8260a6ce55579faf98f7cd31707fa9a077
parentbf483392e6806225a7a7e03c57bad35530522cb9
Multiboot support v5

This patch implements support for Multiboot on x86 for -kernel.
Multiboot is a "new" approach to get rid of different bootloaders, providing
a unified interface for the kernel. It supports command line options and
kernel modules.

The two probably best known projects using multiboot are Xen and GNU Hurd.

This implementation should be mostly feature-complete. It is missing VBE
extensions, but as no system uses them currently it does not really hurt.

To use multiboot, specify the kernel as -kernel option. Modules should be given
as -initrd options, seperated by a comma (,). -append also works.

Please bear in mind that grub also does gzip decompression, which qemu does
not do yet. To run existing images, please ungzip them first.

The guest multiboot loader code is implemented as option rom using int 19.
Parts of the work are based on efforts by Rene Rebe, who originally ported
my code to int 19.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c
pc-bios/optionrom/multiboot.S [new file with mode: 0644]