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 > >