From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35841 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7pdP-0004LG-Oh for qemu-devel@nongnu.org; Mon, 18 Oct 2010 09:20:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7pdO-0000Hf-5n for qemu-devel@nongnu.org; Mon, 18 Oct 2010 09:20:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7pdN-0000Gp-Vd for qemu-devel@nongnu.org; Mon, 18 Oct 2010 09:20:14 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9IDKCGH003125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Oct 2010 09:20:12 -0400 Received: from playa.tlv.redhat.com (dhcp-2-227.tlv.redhat.com [10.35.2.227]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9IDKAIq017827 for ; Mon, 18 Oct 2010 09:20:11 -0400 From: Alon Levy Date: Mon, 18 Oct 2010 15:20:09 +0200 Message-Id: <1287408010-9361-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 0/1] ccid emulated card (v1, for usb-ccid v3) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Meant to be applied after the usb-ccid v3 patch on the list. Causes --enable-smartcard to depend on libcac_card, library for emulating CAC compliant smart cards at http://cgit.freedesktop.org/~alon/cac_card/ hw/ccid-card-emulated.c: new device Makefile.objs: add ccid-card-emulated.o if --enable-smartcard configure: dependency on libcac_card if --enable-smartcard hw/usb-ccid.c: added a TODO note hw/ccid-card-passthru.c: removed does-nothing print method. Alon Levy (1): add ccid-card-emulated device Makefile.objs | 2 +- configure | 20 ++ hw/ccid-card-emulated.c | 497 +++++++++++++++++++++++++++++++++++++++++++++++ hw/ccid-card-passthru.c | 6 - hw/usb-ccid.c | 2 + 5 files changed, 520 insertions(+), 7 deletions(-) create mode 100644 hw/ccid-card-emulated.c -- 1.7.3.1