@@ -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,
@@ -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,
@@ -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,