From patchwork Thu Feb 3 22:45:48 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 81767 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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0FC62B70E7 for ; Fri, 4 Feb 2011 11:24:53 +1100 (EST) Received: from localhost ([127.0.0.1]:52525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl8KG-0007oB-Me for incoming@patchwork.ozlabs.org; Thu, 03 Feb 2011 18:10:57 -0500 Received: from [140.186.70.92] (port=41534 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pl7wO-0006IU-KU for qemu-devel@nongnu.org; Thu, 03 Feb 2011 17:46:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pl7wN-0008Bj-Hf for qemu-devel@nongnu.org; Thu, 03 Feb 2011 17:46:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pl7wN-0008Bb-9G for qemu-devel@nongnu.org; Thu, 03 Feb 2011 17:46:15 -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 p13MkE5I007842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Feb 2011 17:46:14 -0500 Received: from playa.redhat.com (vpn-200-5.tlv.redhat.com [10.35.200.5]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p13Mjrfk002491 for ; Thu, 3 Feb 2011 17:46:13 -0500 From: Alon Levy To: qemu-devel@nongnu.org Date: Fri, 4 Feb 2011 00:45:48 +0200 Message-Id: <1296773152-23279-13-git-send-email-alevy@redhat.com> In-Reply-To: <1296773152-23279-1-git-send-email-alevy@redhat.com> References: <1296773152-23279-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 12/16] 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 18540c0..2b45151 100644 --- a/hw/ccid-card-passthru.c +++ b/hw/ccid-card-passthru.c @@ -307,6 +307,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,