From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5eRA-000608-9a for qemu-devel@nongnu.org; Tue, 12 Oct 2010 08:58:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5eR9-0003gT-Hy for qemu-devel@nongnu.org; Tue, 12 Oct 2010 08:58:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5eR9-0003fX-Bm for qemu-devel@nongnu.org; Tue, 12 Oct 2010 08:58:35 -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 o9CCwV8r000973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Oct 2010 08:58:31 -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 o9CCwU2F028452 for ; Tue, 12 Oct 2010 08:58:30 -0400 From: Alon Levy Date: Tue, 12 Oct 2010 14:58:27 +0200 Message-Id: <1286888309-4493-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] usb-ccid device (v2) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch adds a new device, it is described in full in the second patch intro and also in the documentation in docs. In brief it provides a standard smart card reader device. The first patch is the configure change and docs. The second patch contains the actual device, I couldn't figure out a good way to split it to ease review. 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 device. add configure option. usb-ccid: add CCID device (device itself) Makefile.objs | 1 + configure | 12 + docs/usb-ccid.txt | 115 +++++ hw/usb-ccid.c | 1376 ++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/vscard_common.h | 131 +++++ 5 files changed, 1635 insertions(+), 0 deletions(-) create mode 100644 docs/usb-ccid.txt create mode 100644 hw/usb-ccid.c create mode 100644 hw/vscard_common.h -- 1.7.3.1