qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 6/6] qdev: print device id in "info pci".


From: Gerd Hoffmann
Subject: [Qemu-devel] [PATCH 6/6] qdev: print device id in "info pci".
Date: Wed, 15 Jul 2009 13:43:36 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 hw/pci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/pci.c b/hw/pci.c
index 79eab91..5e2996b 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -737,6 +737,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);
     }
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]