Skip to content

usb-ccid (v4)

Alon Levy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

v3->v4 from the cover letter

* remove ccid field in CCIDBus
* remove static debug
* add back docs

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4usb-ccid: add CCID busMakefile.objs configure hw/ccid.h +1 more+1393 -02 replies
2/4ccid: add passthru card deviceMakefile.objs hw/ccid-card-passthru.c hw/vscard_common.h+409 -10 replies
3/4add ccid-card-emulated device (v2)Makefile.objs configure hw/ccid-card-emulated.c+516 -10 replies
4/4ccid: add docsdocs/ccid.txt+133 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] usb-ccid (v4)

This patchset adds three new devices, usb-ccid, ccid-card-passthru and ccid-card-emulated, providing a CCID bus, a simple passthru protocol implementing card requiring a client, and a standalone emulated card.

v4 changes just the bus following Markus remarks, but I'm resending everything since nothing has been ack'ed yet and it eases review.

v3->v4:
* remove ccid field in CCIDBus
* remove static debug
* add back docs

v2->v3:
* split into bus (usb-ccid.c, uses ccid.h) and card (ccid-card-passthru.c).
* removed documentation (being revised).

v1->v2:
* all QSIMPLEQ turned into fixed sized rings
* all allocated buffers turned into fixed size buffers
* added migration support
* added a message to tell client qemu has migrated to ip:port
* for lack of monitor commands ip:port are 0:0, which causes the updated vscclient to connect to one port higher on the same host. will add monitor commands in a separate patch. tested with current setup.

Alon Levy (4):
usb-ccid: add CCID bus
ccid: add passthru card device
add ccid-card-emulated device (v2)
ccid: add docs

 Makefile.objs           |    1 +
 configure               |   32 ++
 docs/ccid.txt           |  133 +++++
 hw/ccid-card-emulated.c |  495 +++++++++++++++++
 hw/ccid-card-passthru.c |  278 ++++++++++
 hw/ccid.h               |   34 ++
 hw/usb-ccid.c           | 1346 +++++++++++++++++++++++++++++++++++++++++++++++
 hw/vscard_common.h      |  130 +++++
 8 files changed, 2449 insertions(+), 0 deletions(-)
 create mode 100644 docs/ccid.txt
 create mode 100644 hw/ccid-card-emulated.c
 create mode 100644 hw/ccid-card-passthru.c
 create mode 100644 hw/ccid.h
 create mode 100644 hw/usb-ccid.c
 create mode 100644 hw/vscard_common.h
Signature · 1 line
1.7.3.1