From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKeuA-0005LP-RO for qemu-devel@nongnu.org; Tue, 15 Dec 2009 16:26:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKeu6-0005Iy-55 for qemu-devel@nongnu.org; Tue, 15 Dec 2009 16:26:02 -0500 Received: from [199.232.76.173] (port=50634 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKeu5-0005In-Vt for qemu-devel@nongnu.org; Tue, 15 Dec 2009 16:25:58 -0500 Received: from mail.gmx.net ([213.165.64.20]:40468) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1NKeu4-0002v1-Gs for qemu-devel@nongnu.org; Tue, 15 Dec 2009 16:25:58 -0500 Message-ID: From: "Sebastian Herbszt" References: <4B264AF1.6060802@codemonkey.ws> <7FB8DD1225E54176BCAF5523B6AEA89B@FSCPC> <4B26931E.4000101@codemonkey.ws> <20091214194210.GB6150@redhat.com> <4B269933.3010906@codemonkey.ws> <20091214202019.GF6150@redhat.com> <4B26A0DE.5000304@redhat.com> <20091214203428.GI6150@redhat.com> <20091214203603.GJ6150@redhat.com> <4B26A3B2.2030006@codemonkey.ws> <20091214205141.GC6398@redhat.com> <4B26F678.4010603@codemonkey.ws> <4B27541F.9020603@redhat.com> <4B278C34.6080401@codemonkey.ws> In-Reply-To: <4B278C34.6080401@codemonkey.ws> Subject: Re: Proper support for PCI-based option rom loading (was Re: [Qemu-devel] Re: qdev property bug?) Date: Tue, 15 Dec 2009 22:24:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , Gerd Hoffmann Cc: qemu-devel@nongnu.org, glommer@redhat.com, Kevin O'Connor , Alexander Graf , "Michael S. Tsirkin" Anthony Liguori wrote: > Gerd Hoffmann wrote: >> I'm more worried about the CONFIG_OPTIONROMS_DEPLOYED patches for >> seabios, although I don't fully understand what they are doing. There >> are non-pci option roms (linuxboot, multiboot, extboot) which qemu >> will continue to deploy the way roms are deployed today. > > That's a good point. Need to think about how to best handle that. > SeaBIOS supports up to two static option roms so maybe what we need to > do is make use of that mechanism for things like linuxboot/extboot. Keep loading custom roms (e.g. from -option-rom) with rom_add_file starting at 0xc8000. Modify SeaBIOS to scan the memory range for pre-deployed option roms before deploying PCI roms. SeaBIOS will find the last pre-deployed rom and have a starting address for deploying PCI roms. This will keep ISA option roms working. - Sebastian