From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIqe8-0006Mu-0n for qemu-devel@nongnu.org; Mon, 22 Jun 2009 17:01:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIqe3-0006KY-JB for qemu-devel@nongnu.org; Mon, 22 Jun 2009 17:01:43 -0400 Received: from [199.232.76.173] (port=54119 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIqe3-0006KV-CM for qemu-devel@nongnu.org; Mon, 22 Jun 2009 17:01:39 -0400 Received: from mail-qy0-f191.google.com ([209.85.221.191]:39596) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIqe2-0002hQ-PE for qemu-devel@nongnu.org; Mon, 22 Jun 2009 17:01:38 -0400 Received: by qyk29 with SMTP id 29so4010197qyk.4 for ; Mon, 22 Jun 2009 14:01:38 -0700 (PDT) Message-ID: <4A3FF12D.8030103@codemonkey.ws> Date: Mon, 22 Jun 2009 16:01:33 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/4] Add multiboot support (x86) v3 References: <1245326201-17019-1-git-send-email-agraf@suse.de> In-Reply-To: <1245326201-17019-1-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: kwolf@redhat.com, rene@exactcode.de, qemu-devel@nongnu.org Alexander Graf wrote: > 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 > For v4, can you automatically build and use multiboot.bin given that we have the right tool chain (i386 or x86_64 host). This is the direction I'd like to go in for all of the ROMs. Regards, Anthony Liguori > Alexander Graf (4): > Change bochs bios init order > Expose fw_cfg v2 > Multiboot support v3 > Multiboot build system > > hw/pc.c | 243 ++++++++++++++++++++++++++++++++++++++--- > pc-bios/multiboot/Makefile | 41 +++++++ > pc-bios/multiboot/multiboot.S | 209 +++++++++++++++++++++++++++++++++++ > pc-bios/multiboot/signrom.c | 79 +++++++++++++ > 4 files changed, 557 insertions(+), 15 deletions(-) > create mode 100644 pc-bios/multiboot/Makefile > create mode 100644 pc-bios/multiboot/multiboot.S > create mode 100644 pc-bios/multiboot/signrom.c > > > >