PCI: show also host bridge data in "info pci" output Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/hw/pci.c b/hw/pci.c index 2aeaf75..9ad63dd 100644 --- a/hw/pci.c +++ b/hw/pci.c
@@ -1290,7 +1290,7 @@ } class = pci_get_word(dev->config + PCI_CLASS_DEVICE); - if (class == 0x0604) { + if (class == PCI_CLASS_BRIDGE_HOST || class == PCI_CLASS_BRIDGE_PCI) { QDict *qdict; QObject *pci_bridge;