From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPEFh-0002pC-Mm for qemu-devel@nongnu.org; Fri, 10 Jul 2009 07:26:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPEFV-0002U5-4T for qemu-devel@nongnu.org; Fri, 10 Jul 2009 07:26:44 -0400 Received: from [199.232.76.173] (port=37955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPEFU-0002Tp-IA for qemu-devel@nongnu.org; Fri, 10 Jul 2009 07:26:40 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38369) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPEFU-0005dY-1N for qemu-devel@nongnu.org; Fri, 10 Jul 2009 07:26:40 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6ABQdU4030037 for ; Fri, 10 Jul 2009 07:26:39 -0400 From: Gerd Hoffmann Date: Fri, 10 Jul 2009 13:26:19 +0200 Message-Id: <1247225179-5495-14-git-send-email-kraxel@redhat.com> In-Reply-To: <1247225179-5495-1-git-send-email-kraxel@redhat.com> References: <1247225179-5495-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 13/13] qdev: print device id in "info pci". List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index ae24402..80e99c7 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -738,6 +738,7 @@ static void pci_info_device(PCIDevice *d) } } } + monitor_printf(mon, " id \"%s\"\n", d->qdev.id); if (class == 0x0604 && d->config[0x19] != 0) { pci_for_each_device(d->config[0x19], pci_info_device); } -- 1.6.2.5