From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MR2tt-0002pa-L1 for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:43:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MR2to-0002l6-I2 for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:43:53 -0400 Received: from [199.232.76.173] (port=56682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MR2tn-0002kj-Bu for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:43:48 -0400 Received: from mx2.redhat.com ([66.187.237.31]:36372) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MR2tm-0003AC-OY for qemu-devel@nongnu.org; Wed, 15 Jul 2009 07:43:47 -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 n6FBhkee013593 for ; Wed, 15 Jul 2009 07:43:46 -0400 From: Gerd Hoffmann Date: Wed, 15 Jul 2009 13:43:36 +0200 Message-Id: <1247658216-511-7-git-send-email-kraxel@redhat.com> In-Reply-To: <1247658216-511-1-git-send-email-kraxel@redhat.com> References: <1247658216-511-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 6/6] 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 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