From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNyo6-0003hc-MT for qemu-devel@nongnu.org; Thu, 14 Sep 2006 17:31:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNyo5-0003fa-6s for qemu-devel@nongnu.org; Thu, 14 Sep 2006 17:31:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNyo5-0003fS-0o for qemu-devel@nongnu.org; Thu, 14 Sep 2006 17:31:37 -0400 Received: from [84.96.92.61] (helo=sMtp.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNyq6-0007my-IF for qemu-devel@nongnu.org; Thu, 14 Sep 2006 17:33:42 -0400 Received: from [84.102.211.173] by sp604002mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0J5L007S7QGODF41@sp604002mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Thu, 14 Sep 2006 23:31:36 +0200 (CEST) Date: Thu, 14 Sep 2006 23:32:09 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] PCI IRQ routing problems In-reply-to: Message-id: <4509CA59.20908@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: 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 Ed Swierk wrote: > Linux 2.6.17 running on the latest qemu snapshot is unable to route > IRQs to more than 4 network interfaces when running without ACPI, and > is limited to 2 network interfaces with ACPI enabled. > [...] > I suspect the problem in the non-ACPI case is caused by a limitation > in the PCI IRQ routing table in the Bochs BIOS, but I haven't a clue > how to fix it. Any ideas would be appreciated. I did not study the issue yet, but I suspect it is a Bochs BIOS issue (I remember it declares a limited number of PCI slots for example). IMHO, all the PCI, MP table and ACPI table init should be moved to the Bochs BIOS. I did not do it because it was not strictly necessary to have something that works. A simple way to do that is to copy the relevant QEMU code in a separate section of the Bochs BIOS and to execute it by switching temporarily to 32 bit protected mode in the BIOS init code. Fabrice.