From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GRZMX-00014o-Md for qemu-devel@nongnu.org; Sun, 24 Sep 2006 15:10:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GRZMV-00013i-PT for qemu-devel@nongnu.org; Sun, 24 Sep 2006 15:10:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GRZMV-00013f-Jz for qemu-devel@nongnu.org; Sun, 24 Sep 2006 15:09:59 -0400 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GRZQk-0003Hr-P5 for qemu-devel@nongnu.org; Sun, 24 Sep 2006 15:14:23 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [BUG?] Duplicate PCI setup? Date: Sun, 24 Sep 2006 20:09:48 +0100 References: <450C54E1.1080902@mail.berlios.de> <4516D3D5.8030004@mail.berlios.de> In-Reply-To: <4516D3D5.8030004@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200609242009.51974.paul@codesourcery.com> 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 On Sunday 24 September 2006 19:52, Stefan Weil wrote: > When I start QEMU for i386 with an emulated PCI network card, > this card's PCI memory space is setup twice: > once by QEMU, a second time from BIOS. > > PCI I/O regions both times get the same address: > ne2000_map: region=3D0, addr=3D0x0000c100, size=3D0x00000100, type=3D1 > ne2000_map: region=3D0, addr=3D0x0000c100, size=3D0x00000100, type=3D1 > > PCI memory regions get two different addresses. So? Why is this a problem? PCI is designed to allow dynamic resource (re-)configuration. > Maybe the setup by QEMU was needed with an earlier PC BIOS > and is no longer needed today? =46rom hw/piix_pci.c /* * This function initializes the PCI devices as a normal PCI BIOS * would do. It is provided just in case the BIOS has no support for * PCI. */ Paul