Commit 8ad12514 authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Anthony Liguori

qdev: print device id in "info pci".

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent d6beee99
......@@ -738,6 +738,7 @@ static void pci_info_device(PCIDevice *d)
}
}
}
monitor_printf(mon, " id \"%s\"\n", d->qdev.id ? d->qdev.id : "");
if (class == 0x0604 && d->config[0x19] != 0) {
pci_for_each_device(d->config[0x19], pci_info_device);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment