Commit 8ad125147085e508325e940d19b300e6c7a7502b

Authored by Gerd Hoffmann
Committed by Anthony Liguori
1 parent d6beee99

qdev: print device id in "info pci".

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 1 changed file with 1 additions and 0 deletions
hw/pci.c
... ... @@ -738,6 +738,7 @@ static void pci_info_device(PCIDevice *d)
738 738 }
739 739 }
740 740 }
  741 + monitor_printf(mon, " id \"%s\"\n", d->qdev.id ? d->qdev.id : "");
741 742 if (class == 0x0604 && d->config[0x19] != 0) {
742 743 pci_for_each_device(d->config[0x19], pci_info_device);
743 744 }
... ...