Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N8gfV-0005CL-2o for qemu-devel@nongnu.org; Thu, 12 Nov 2009 15:53:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N8gfP-00057v-EU for qemu-devel@nongnu.org; Thu, 12 Nov 2009 15:53:23 -0500 Received: from [199.232.76.173] (port=48099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8gfP-00057N-2t for qemu-devel@nongnu.org; Thu, 12 Nov 2009 15:53:19 -0500 Received: from cantor.suse.de ([195.135.220.2]:43434 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N8gfN-0008EW-Ln for qemu-devel@nongnu.org; Thu, 12 Nov 2009 15:53:17 -0500 From: Alexander Graf Date: Thu, 12 Nov 2009 21:53:09 +0100 Message-Id: <1258059195-17582-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 0/6] Fix -kernel with SeaBIOS v2 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Glauber Costa , Juan Quintela , Avi Kivity , Christoph Hellwig SeaBIOS clears RAM between we write our -kernel image to RAM and the int19 handler gets triggered. So in order to work around that, I sat down and implemented Avi's suggestion of "downloading" all blobs in runtime from the fw_cfg interface Thanks to glommer who talked me into doing it ;-). v1 -> v2: - rename copy_rom -> rom_copy - introduce fw_cfg compat loader for loadvm Alexander Graf (6): Make fw_cfg interface 32-bit aware Introduce rom_rom Convert multiboot to fw_cfg backed data storage Move common option rom code to header file Convert linux bootrom to external rom and fw_cfg Add linuxboot to BLOBS Makefile | 2 +- hw/fw_cfg.c | 30 ++++++-- hw/fw_cfg.h | 13 +++- hw/loader.c | 38 +++++++++ hw/loader.h | 1 + hw/pc.c | 169 +++++++++++++---------------------------- pc-bios/optionrom/Makefile | 2 +- pc-bios/optionrom/linuxboot.S | 140 ++++++++++++++++++++++++++++++++++ pc-bios/optionrom/multiboot.S | 108 ++++++++++----------------- pc-bios/optionrom/optionrom.h | 107 ++++++++++++++++++++++++++ 10 files changed, 416 insertions(+), 194 deletions(-) create mode 100644 pc-bios/optionrom/linuxboot.S create mode 100644 pc-bios/optionrom/optionrom.h