From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38487 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcZrr-00053f-Mr for qemu-devel@nongnu.org; Tue, 11 Jan 2011 03:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcZrS-0001p6-Ex for qemu-devel@nongnu.org; Tue, 11 Jan 2011 03:45:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcZrS-0001os-4l for qemu-devel@nongnu.org; Tue, 11 Jan 2011 03:45:50 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0B8jnFc018269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 11 Jan 2011 03:45:49 -0500 Received: from playa.redhat.com ([10.3.112.19]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p0B8gkTo025449 for ; Tue, 11 Jan 2011 03:45:43 -0500 From: Alon Levy Date: Tue, 11 Jan 2011 10:42:39 +0200 Message-Id: <1294735359-4009-9-git-send-email-alevy@redhat.com> In-Reply-To: <1294735359-4009-1-git-send-email-alevy@redhat.com> References: <1294735359-4009-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 7/7] ccid: add qdev description strings List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --- hw/ccid-card-emulated.c | 1 + hw/ccid-card-passthru.c | 1 + hw/usb-ccid.c | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c index 5531ce1..5e85e8e 100644 --- a/hw/ccid-card-emulated.c +++ b/hw/ccid-card-emulated.c @@ -509,6 +509,7 @@ static int emulated_exitfn(CCIDCardState *base) static CCIDCardInfo emulated_card_info = { .qdev.name = EMULATED_DEV_NAME, + .qdev.desc = "emulated smartcard", .qdev.size = sizeof(EmulatedState), .initfn = emulated_initfn, .exitfn = emulated_exitfn, diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c index f9fb82c..351651c 100644 --- a/hw/ccid-card-passthru.c +++ b/hw/ccid-card-passthru.c @@ -247,6 +247,7 @@ static VMStateDescription passthru_vmstate = { static CCIDCardInfo passthru_card_info = { .qdev.name = PASSTHRU_DEV_NAME, + .qdev.desc = "passthrough smartcard", .qdev.size = sizeof(PassthruState), .qdev.vmsd = &passthru_vmstate, .initfn = passthru_initfn, diff --git a/hw/usb-ccid.c b/hw/usb-ccid.c index 58f69a6..7b2ea2a 100644 --- a/hw/usb-ccid.c +++ b/hw/usb-ccid.c @@ -1330,6 +1330,7 @@ static VMStateDescription ccid_vmstate = { static struct USBDeviceInfo ccid_info = { .product_desc = "QEMU USB CCID", .qdev.name = CCID_DEV_NAME, + .qdev.desc = "CCID Rev 1.1 smartcard reader", .qdev.size = sizeof(USBCCIDState), .init = ccid_initfn, .handle_packet = usb_generic_handle_packet, -- 1.7.3.4