From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=50953 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PTDSk-0006I9-V7 for qemu-devel@nongnu.org; Thu, 16 Dec 2010 08:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PTDSj-0002gZ-Ut for qemu-devel@nongnu.org; Thu, 16 Dec 2010 08:01:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PTDSj-0002gS-L1 for qemu-devel@nongnu.org; Thu, 16 Dec 2010 08:01:37 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBGD1acl003716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 16 Dec 2010 08:01:36 -0500 Message-ID: <4D0A0DAE.9050506@redhat.com> Date: Thu, 16 Dec 2010 14:01:34 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 5/5] ccid: add docs References: <1292497600-16115-1-git-send-email-alevy@redhat.com> <1292497600-16115-6-git-send-email-alevy@redhat.com> In-Reply-To: <1292497600-16115-6-git-send-email-alevy@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: qemu-devel@nongnu.org On 12/16/10 12:06, Alon Levy wrote: > Add documentation for the usb-ccid device and accompanying two card > devices, ccid-card-emulated and ccid-card-passthru. > --- > docs/ccid.txt | 125 ++++++++++++++ > docs/libcacard.txt | 483 ---------------------------------------------------- Guess that isn't intentional, right? > +A typical interchange is: > + > +client event | vscclient | passthru | usb-ccid | guest event > +---------------------------------------------------------------------------------------------- > + | VSC_Init | | | > + | VSC_ReaderAdd | | attach | > + | | | | sees new usb device. > +card inserted | | | | > + | VSC_ATR | | | > + | | | | guest operation, APDU transfer via CCID > + | | VSC_APDU | | > + | VSC_APDU | | | > +client<->physical | | | | > +card APDU exchange| | | | > + [APDU<->APDU repeats several times] > +card removed | | | | > + | VSC_CardRemove | | | > +kill/quit | | | | > + vscclient | | | | > + | VSC_ReaderRemove | | detach | > + | | | | usb device removed. This needs updating, doesn't it? I think you plugin and -out just the cards on the ccid bus instead of the whole usb device, right? cheers, Gerd