This is a resend of my outstanding patches, gathered together as one series. I'm hoping to agitate for this whole set to be considered.
Changes since v2: * Include outstanding patches not strictly related to passthru mode * Include a fix for read binary transactions * Mitigate some performance issues arising from libpccslite's heavy handed thread safety code Jeremy White (7): Bug fix: delete the reader entry after queueing an event, not before. Retrieve the correct TD byte when checking an ATR. Add a configure check for libpcsclite, and an option to enable or disable it. Add error checking to vcard_emul_options. Add a VCARD_DIRECT implemention to the libcacard smartcard support. Enable support for passthru (e.g. direct to pcsc) smart cards in the emul_options entry point in libcacard. Remove the (broken) passthru option. Makefile.objs | 5 + configure | 38 ++++ hw/usb/ccid-card-passthru.c | 2 +- libcacard/capcsc.c | 498 +++++++++++++++++++++++++++++++++++++++++++ libcacard/capcsc.h | 18 ++ libcacard/card_7816.c | 2 +- libcacard/card_7816.h | 3 + libcacard/libcacard.syms | 2 + libcacard/vcard.c | 2 +- libcacard/vcard.h | 2 +- libcacard/vcard_emul_nss.c | 78 +++++-- libcacard/vcard_emul_type.c | 3 +- libcacard/vreader.c | 2 +- libcacard/vscclient.c | 16 +- 14 files changed, 640 insertions(+), 31 deletions(-) create mode 100644 libcacard/capcsc.c create mode 100644 libcacard/capcsc.h -- 1.7.10.4