From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtJyH-0005oo-Bt for qemu-devel@nongnu.org; Tue, 16 Aug 2011 09:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtJyF-0003jv-Gb for qemu-devel@nongnu.org; Tue, 16 Aug 2011 09:46:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtJyF-0003jW-9X for qemu-devel@nongnu.org; Tue, 16 Aug 2011 09:46:19 -0400 Message-ID: <4E4A7364.2050303@redhat.com> Date: Tue, 16 Aug 2011 15:40:52 +0200 From: Gerd Hoffmann MIME-Version: 1.0 References: <4E49D482.8000401@cn.fujitsu.com> In-Reply-To: <4E49D482.8000401@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Question] PCI-to-PCI bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wen Congyang Cc: qemu-devel On 08/16/11 04:22, Wen Congyang wrote: > Hi, all > > We'd like to add PCI-to-PCI Bridge for qemu(kvm) for x86/x86_64 box. > I read the code, and find the following hardware calls the function > pci_bridge_initfn(): > 1. apb > 2. ioh3420 > 3. xio3130 > > ioh3420 and xio3130 is for PCIe, and apb is for sparc box. > I do not find any PCI-to-PCI bridge for x86/x86_64 box. > Is there some projects we can join ? If not, we'll start There is one in hw/dec_pci.c. This isn't compiled by default, but that is just a configuration issue. I had some IRQ routing issues with that one though. There is also http://patchwork.ozlabs.org/patch/103058/ which works fine after fixing the double irq_num. Michael wants implement hotplug support before merging it though. cheers, Gerd