diff options
| author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-06 14:57:04 +0000 |
|---|---|---|
| committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-06 14:57:04 +0000 |
| commit | 525e05147d5a3bdc08caa422d108c1ef71b584b5 (patch) | |
| tree | 2967db4c23817f03f81f5d0c7a4b2bd7c6ff5474 /hw/pci.c | |
| parent | c021f8e65f5009a5ab5711d9d5326fcab553ef1c (diff) | |
| download | focaccia-qemu-525e05147d5a3bdc08caa422d108c1ef71b584b5.tar.gz focaccia-qemu-525e05147d5a3bdc08caa422d108c1ef71b584b5.zip | |
PCI: show also host bridge data in "info pci" output
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pci.c')
| -rw-r--r-- | hw/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |