From patchwork Tue Jan 11 08:42:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 78305 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 F1619B7082 for ; Tue, 11 Jan 2011 21:06:59 +1100 (EST) Received: from localhost ([127.0.0.1]:55474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pca1g-0000Lr-VN for incoming@patchwork.ozlabs.org; Tue, 11 Jan 2011 03:56:25 -0500 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 To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 7/7] 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 --- 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,