diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-15 13:43:36 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-16 17:28:53 -0500 |
commit | 8ad125147085e508325e940d19b300e6c7a7502b (patch) | |
tree | 1f0f55a7d84405197e29c3ef501b0742e36a63c3 /hw | |
parent | d6beee993810b80d7a7f51d05d4f8e08e485b2b2 (diff) | |
download | qemu-8ad125147085e508325e940d19b300e6c7a7502b.tar.gz qemu-8ad125147085e508325e940d19b300e6c7a7502b.tar.bz2 qemu-8ad125147085e508325e940d19b300e6c7a7502b.zip |
qdev: print device id in "info pci".
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); } |