From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtW5C-0007gZ-MC for qemu-devel@nongnu.org; Tue, 16 Aug 2011 22:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtW5A-00028y-5e for qemu-devel@nongnu.org; Tue, 16 Aug 2011 22:42:18 -0400 Received: from [222.73.24.84] (port=56087 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtW59-000287-EO for qemu-devel@nongnu.org; Tue, 16 Aug 2011 22:42:16 -0400 Message-ID: <4E4B2A4B.2040702@cn.fujitsu.com> Date: Wed, 17 Aug 2011 10:41:15 +0800 From: Wen Congyang MIME-Version: 1.0 References: <4E49D482.8000401@cn.fujitsu.com> <4E4A7364.2050303@redhat.com> In-Reply-To: <4E4A7364.2050303@redhat.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Qemu-devel] [Question] PCI-to-PCI bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel At 08/16/2011 09:40 PM, Gerd Hoffmann Write: > 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. Yes, I found this device. Do you mean there are some IRQ problems about this device? > > 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 > >