From 525e05147d5a3bdc08caa422d108c1ef71b584b5 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 6 Feb 2010 14:57:04 +0000 Subject: [PATCH] PCI: show also host bridge data in "info pci" output Signed-off-by: Blue Swirl --- hw/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci.c b/hw/pci.c index 2aeaf75a10..9ad63dd948 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -1290,7 +1290,7 @@ static QObject *pci_get_dev_dict(PCIDevice *dev, PCIBus *bus, int bus_num) } 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; -- GitLab