From patchwork Wed Feb 2 20:28:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 81538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by ozlabs.org (Postfix) with ESMTP id 3D9CAB70E9 for ; Thu, 3 Feb 2011 07:47:29 +1100 (EST) Received: from localhost ([127.0.0.1]:37518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkjWu-00056u-Ge for incoming@patchwork.ozlabs.org; Wed, 02 Feb 2011 15:42:20 -0500 Received: from [140.186.70.92] (port=54577 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkjLd-0008Ax-Im for qemu-devel@nongnu.org; Wed, 02 Feb 2011 15:30:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkjKH-0000QI-Aa for qemu-devel@nongnu.org; Wed, 02 Feb 2011 15:29:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkjKH-0000Q7-3O for qemu-devel@nongnu.org; Wed, 02 Feb 2011 15:29:17 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p12KTGxx011804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Feb 2011 15:29:16 -0500 Received: from playa.redhat.com (vpn-200-14.tlv.redhat.com [10.35.200.14]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p12KSLpi025755 for ; Wed, 2 Feb 2011 15:29:15 -0500 From: Alon Levy To: qemu-devel@nongnu.org Date: Wed, 2 Feb 2011 22:28:18 +0200 Message-Id: <1296678500-19497-19-git-send-email-alevy@redhat.com> In-Reply-To: <1296678500-19497-1-git-send-email-alevy@redhat.com> References: <1296678500-19497-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 18/20] ccid: add qdev description strings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Alon Levy --- 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 09ce770..2e25daa 100644 --- a/hw/ccid-card-emulated.c +++ b/hw/ccid-card-emulated.c @@ -525,6 +525,7 @@ EnumTable backend_enum_table[] = { 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 f3f3da9..f290bea 100644 --- a/hw/ccid-card-passthru.c +++ b/hw/ccid-card-passthru.c @@ -306,6 +306,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 09e39ac..27a7103 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,