Re: [libvirt] [PATCH 08/11] conf: Prefer pcie-to-pci-bridge to dmi-to-pci-bridge

2018-04-04 Thread John Ferlan
On 04/04/2018 05:04 AM, Andrea Bolognani wrote: > On Tue, 2018-04-03 at 19:13 -0400, John Ferlan wrote: > [...] >>> needDMIToPCIBridge = true; >>> +needPCIeToPCIBridge = true; >>> for (i = 0; i < addrs->nbuses; i++) { >>> if

Re: [libvirt] [PATCH 08/11] conf: Prefer pcie-to-pci-bridge to dmi-to-pci-bridge

2018-04-04 Thread Andrea Bolognani
On Tue, 2018-04-03 at 19:13 -0400, John Ferlan wrote: [...] > > needDMIToPCIBridge = true; > > +needPCIeToPCIBridge = true; > > for (i = 0; i < addrs->nbuses; i++) { > > if (addrs->buses[i].flags & > > VIR_PCI_CONNECT_TYPE_PCI_BRIDGE) { > >

Re: [libvirt] [PATCH 08/11] conf: Prefer pcie-to-pci-bridge to dmi-to-pci-bridge

2018-04-03 Thread John Ferlan
On 03/28/2018 10:06 AM, Andrea Bolognani wrote: > Both pcie-to-pci-bridge and dmi-to-pci-bridge can be used to > create a traditional PCI topology in a pure PCIe guest such as > those using the x86_64/q35 or aarch64/virt machine type; > however, the former should be preferred, as it doesn't need

[libvirt] [PATCH 08/11] conf: Prefer pcie-to-pci-bridge to dmi-to-pci-bridge

2018-03-28 Thread Andrea Bolognani
Both pcie-to-pci-bridge and dmi-to-pci-bridge can be used to create a traditional PCI topology in a pure PCIe guest such as those using the x86_64/q35 or aarch64/virt machine type; however, the former should be preferred, as it doesn't need to obey limitation of real hardware and is completely