Laine Stump 1e15be1bbc qemu: always permit PCI devices to be manually assigned to a PCIe bus
When support for the pcie-root and dmi-to-pci-bridge buses on a Q35
machinetype was added, I was concerned that even though qemu at the
time allowed plugging a PCI device into a PCIe port, that it might not
be supported in the future. To prevent painful backtracking in the
possible future where this happened, I disallowed such connections
except in a few specific cases requested by qemu developers (indicated
in the code with the flag VIR_PCI_CONNECT_TYPE_EITHER_IF_CONFIG).

Now that a couple years have passed, there is a clear message from
qemu that there is no danger in allowing PCI devices to be plugged
into PCIe ports. This patch eliminates
VIR_PCI_CONNECT_TYPE_EITHER_IF_CONFIG and changes the code to always
allow PCI->PCIe or PCIe->PCI connection *when the PCI address is
specified in the config. (For newly added devices that haven't yet
been given a PCI address, the auto-placement still prefers using the
correct type of bus).
2015-06-26 13:51:33 -04:00
..
2014-12-02 07:30:10 +01:00
2014-12-02 07:30:10 +01:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2014-03-01 23:44:58 +04:00
2014-10-06 13:15:31 +02:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2014-12-02 07:30:10 +01:00
2014-03-01 23:44:58 +04:00
2014-12-02 07:30:10 +01:00
2015-06-01 10:30:29 +08:00
2014-12-02 07:30:10 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2014-12-02 07:30:10 +01:00