提交 525e0514 编写于 作者: B Blue Swirl

PCI: show also host bridge data in "info pci" output

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 c021f8e6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册