From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40518 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7SON-0003Oj-5G for qemu-devel@nongnu.org; Sun, 17 Oct 2010 08:31:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7SOL-0003Rg-QX for qemu-devel@nongnu.org; Sun, 17 Oct 2010 08:31:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7SOL-0003R8-Jo for qemu-devel@nongnu.org; Sun, 17 Oct 2010 08:31:09 -0400 From: Alon Levy Date: Sun, 17 Oct 2010 14:31:02 +0200 Message-Id: <1287318664-6563-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] usb-ccid (v3) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: anthony@codemonkey.cs, alevy@redhat.com This patchset adds two new devices, usb-ccid and ccid-card-passthru, providing a CCID implementation as a bus and a simple passthru protocol implementing card requiring a client. Next patches will add a fully emulated card that can be used standalone to use a local (host side) card reader, and documentation (being revised for the new bus and multiple cards change) v3 changes: * split into bus (usb-ccid.c, uses ccid.h) and card (ccid-card-passthru.c). * removed documentation (being revised). v2 changed: * 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 (2): usb-ccid: add CCID bus ccid: add passthru card device Makefile.objs | 1 + configure | 12 + hw/ccid-card-passthru.c | 284 ++++++++++ hw/ccid.h | 34 ++ hw/usb-ccid.c | 1349 +++++++++++++++++++++++++++++++++++++++++++++++ hw/vscard_common.h | 130 +++++ 6 files changed, 1810 insertions(+), 0 deletions(-) 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 -- 1.7.3.1