From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWl-0007HQ-3T for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWVWf-0002HM-5V for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:47 -0400 Received: from mail.codeweavers.com ([216.251.189.131]:46821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWVWe-0002FG-Lp for qemu-devel@nongnu.org; Fri, 13 Mar 2015 15:45:41 -0400 Received: from jwhite.mn.codeweavers.com ([10.69.137.101] helo=jwhite.mn.codeweavers.com.) by mail.codeweavers.com with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YWVWX-0001m6-Ez for qemu-devel@nongnu.org; Fri, 13 Mar 2015 14:45:33 -0500 From: Jeremy White Date: Fri, 13 Mar 2015 14:45:17 -0500 Message-Id: <1426275924-1904-1-git-send-email-jwhite@codeweavers.com> Subject: [Qemu-devel] [PATCH v3 0/7] Add support for passthru cards to libcacard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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