Received: from [140.186.70.92] (port=57012 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFmvo-0007z7-VG for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:04:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFmvj-0004tS-J0 for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:04:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:29714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFmvj-0004tE-A3 for qemu-devel@nongnu.org; Tue, 09 Nov 2010 07:04:03 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA9C4205027312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 9 Nov 2010 07:04:02 -0500 Date: Tue, 9 Nov 2010 14:03:57 +0200 From: Alon Levy Subject: Re: [Qemu-devel] [PATCH 0/4] usb-ccid (v5) Message-ID: <20101109120357.GG7270@playa.tlv.redhat.com> References: <1289302811-7423-1-git-send-email-alevy@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289302811-7423-1-git-send-email-alevy@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com NACK self. Forgot the statics. On Tue, Nov 09, 2010 at 01:40:07PM +0200, Alon Levy wrote: > This patchset adds three new devices, usb-ccid, ccid-card-passthru and > ccid-card-emulated, providing a CCID bus, a simple passthru protocol > implementing card requiring a client, and a standalone emulated card. > > v4->v5 changes: > * rebased to latest > * remove static debug in card devices > * fix --enable-smartcard to link > * stall instead of assert when exceeding BULK_OUT_DATA_SIZE > * make ccid_reserve_recv_buf for too large len discard message, not exit > * make ccid_reserve_recv_buf return void* > * fix typo > * remove commented code in VMState > > v3->v4: > * remove ccid field in CCIDBus > * remove static debug in bus > * add back docs > > v2->v3: > * split into bus (usb-ccid.c, uses ccid.h) and card (ccid-card-passthru.c). > * removed documentation (being revised). > > v1->v2: > * 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 (4): > usb-ccid: add CCID bus > ccid: add passthru card device > add ccid-card-emulated device (v2) > ccid: add docs > > Makefile.objs | 1 + > configure | 33 ++ > docs/ccid.txt | 133 +++++ > hw/ccid-card-emulated.c | 495 +++++++++++++++++ > hw/ccid-card-passthru.c | 278 ++++++++++ > hw/ccid.h | 34 ++ > hw/usb-ccid.c | 1342 +++++++++++++++++++++++++++++++++++++++++++++++ > hw/vscard_common.h | 130 +++++ > 8 files changed, 2446 insertions(+), 0 deletions(-) > create mode 100644 docs/ccid.txt > create mode 100644 hw/ccid-card-emulated.c > 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.2 > >