hw/pci: ensure that only PCI/PCIe bridges can be attached to pxb/pxb-pcie devices
commit0144f6f1ce536b2c56a9b16ef189fc81c3bcb82f
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 18 Jan 2016 15:27:26 +0000 (18 17:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 6 Feb 2016 18:44:08 +0000 (6 20:44 +0200)
treed170ae01685d6577579b2ec83f241b22703cbd76
parentb5c6eaf173cbeec414b2d837c5703515f979f2af
hw/pci: ensure that only PCI/PCIe bridges can be attached to pxb/pxb-pcie devices

PCI devices can't be plugged directly into PCI extra root bridges
because their resources can't be computed by firmware before the ACPI
tables are loaded.

Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c