qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/5] Add multiboot support (x86) v5


From: Alexander Graf
Subject: [Qemu-devel] [PATCH 0/5] Add multiboot support (x86) v5
Date: Mon, 29 Jun 2009 15:37:36 +0200

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.

Also, Kevin Wolf helped a lot whenever I had a new version of this patch
around.

v2 addresses the fw_cfg comments from Blue Swirl
v3 makes things work on kvm and addresses avi's comments
v4 takes on anthony's complaints and adds documentation
v5 fixes reset with -kernel, but w/o -initrd

Alexander Graf (5):
  Change bochs bios init order
  Expose fw_cfg v2
  Multiboot support v5
  Multiboot build system v4
  Add documentation for Multiboot

 Makefile                      |   12 ++-
 configure                     |    9 ++-
 hw/pc.c                       |  264 ++++++++++++++++++++++++++++++++++++++---
 pc-bios/optionrom/Makefile    |   48 ++++++++
 pc-bios/optionrom/multiboot.S |  209 ++++++++++++++++++++++++++++++++
 pc-bios/optionrom/signrom.c   |   79 ++++++++++++
 qemu-options.hx               |   17 ++-
 7 files changed, 615 insertions(+), 23 deletions(-)
 create mode 100644 pc-bios/optionrom/Makefile
 create mode 100644 pc-bios/optionrom/multiboot.S
 create mode 100644 pc-bios/optionrom/signrom.c





reply via email to

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