summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-01-11 10:34:19 +0200
committerAlon Levy <alevy@redhat.com>2011-01-11 10:35:32 +0200
commit82c155887c534cd80d4672d7f49e190003c74312 (patch)
tree3e4d5507ff91422ebc981bfc113bd8d023417d62
parenta946d0dba60f0db63b819ff350c33d2cbb64b235 (diff)
ccid: add qdev description stringsusb_ccid.v15
-rw-r--r--hw/ccid-card-emulated.c1
-rw-r--r--hw/ccid-card-passthru.c1
-rw-r--r--hw/usb-ccid.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c
index 5531ce14d..5e85e8eb9 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 f9fb82c0a..351651c9b 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 58f69a68c..7b2ea2a37 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,