Received: from [140.186.70.92] (port=50043 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcInd-0006mt-EL for qemu-devel@nongnu.org; Mon, 10 Jan 2011 09:32:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcInb-0000DO-V3 for qemu-devel@nongnu.org; Mon, 10 Jan 2011 09:32:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcInb-0000DG-Jb for qemu-devel@nongnu.org; Mon, 10 Jan 2011 09:32:43 -0500 Date: Mon, 10 Jan 2011 16:32:36 +0200 From: Alon Levy Subject: Re: [Qemu-devel] [PATCH 0/5] usb-ccid (v14) Message-ID: <20110110143235.GD7794@playa.tlv.redhat.com> References: <1294482533-16277-1-git-send-email-alevy@redhat.com> <4D2AFF30.1060002@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2AFF30.1060002@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Blue Swirl , qemu-devel@nongnu.org On Mon, Jan 10, 2011 at 01:44:32PM +0100, Gerd Hoffmann wrote: > On 01/08/11 11:28, 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. > > > >It also introduces a new directory libcaccard with CAC card emulation, > >CAC is a type of ISO 7816 smart card. > > > >Tree for pull: git://anongit.freedesktop.org/~alon/qemu usb_ccid.v14 > > One nit left which I didn't notice on previous reviews: It can't be > disabled at compile time, there is no --disable-smartcard switch. > The nss detection needs some tweaks too. The usual configure > behavior in qemu is this: > > [ no smarccard option specified ] > autodetect, i.e. enable smartcard if nss support is found, > otherwise disable (i.e. what your patch does now). > --disable-smartcard > turn off smartcard support. > --enable-smartcard > force smartcard support on, if nss isn't present abort > configure with an error message. > > Otherwise it looks works nicely. Good job. Blue Swirl asked me to remove them at v8, so v9+ don't have them. Blue Swirl - with or without? > > cheers, > Gerd