From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVsuM-0005In-LR for qemu-devel@nongnu.org; Thu, 03 Jun 2004 10:09:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVsuL-0005IX-1j for qemu-devel@nongnu.org; Thu, 03 Jun 2004 10:09:26 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVsuK-0005IN-Uy for qemu-devel@nongnu.org; Thu, 03 Jun 2004 10:09:25 -0400 Received: from [193.252.22.29] (helo=mwinf0203.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVstu-0005QU-CN for qemu-devel@nongnu.org; Thu, 03 Jun 2004 10:08:58 -0400 Received: from bellard.org (ATuileries-112-1-2-134.w80-14.abo.wanadoo.fr [80.14.188.134]) by mwinf0203.wanadoo.fr (SMTP Server) with ESMTP id C8EE710001D6 for ; Thu, 3 Jun 2004 16:08:56 +0200 (CEST) Message-ID: <40BF318B.6020109@bellard.org> Date: Thu, 03 Jun 2004 16:11:23 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH]: PCI ROM support. References: <1086134382.21903.84.camel@sherbert> In-Reply-To: <1086134382.21903.84.camel@sherbert> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I commited a variant of your patch - try it. I also added support for opaque data on all memory I/Os. Fabrice. Gianni Tedesco wrote: > Attached is a preliminary patch which adds support for ROM resources to > the PCI subsystem as a 7th resource. It's fairly self explanatory, but > for some reason in my guest Linux OS, ROM resources are all sized to 2KB > (but unassigned and disabled) even if the ROM base address register > (@0x30) is all zeros... Not sure if it's just the version of lspci I'm > using... > > There is probably an obvious bug that Fabrice can spot ;)