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-24 00:48:21 +0200
commit3a937811b64ef695c1ee5ac99a6fc00002245ab6 (patch)
treef113ea0fb33faa6b87a6fba4045862adb36cfc84
parent11acaf8b8b2319d320001bf2e6bb5045bead4969 (diff)
ccid: add qdev description stringsqkm.spice.v28.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,