From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=54597 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzUUB-0005zh-5V for qemu-devel@nongnu.org; Tue, 15 Mar 2011 09:40:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzUU9-0003ce-U3 for qemu-devel@nongnu.org; Tue, 15 Mar 2011 09:40:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzUU9-0003cT-KZ for qemu-devel@nongnu.org; Tue, 15 Mar 2011 09:40:29 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p2FDeSIt028332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Mar 2011 09:40:28 -0400 Message-ID: <4D7F6C34.7030403@redhat.com> Date: Tue, 15 Mar 2011 14:40:04 +0100 From: Jes Sorensen MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 4/7] libcacard: initial commit References: <1298460024-23591-1-git-send-email-alevy@redhat.com> <1298460024-23591-5-git-send-email-alevy@redhat.com> <4D7E3236.8050507@redhat.com> <20110314164010.GL31372@playa.tlv.redhat.com> <4D7F5ED0.70401@redhat.com> <20110315131409.GW31372@playa.tlv.redhat.com> In-Reply-To: <20110315131409.GW31372@playa.tlv.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 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 03/15/11 14:14, Alon Levy wrote: > On Tue, Mar 15, 2011 at 01:42:56PM +0100, Jes Sorensen wrote: >> Alternatively the external apps that build against it should be taught >> to link with the QEMU version. >> > > That would require me to teach qemu's configure to build libcacard, possibly > only libcacard (even though qemu doesn't need a lot of packages by itself, > I still wouldn't want apt-get install spice-client to drag in qemu-kvm). Hi Alon, I am a little confused as to what the library really does. Is it a library to manage iso7816 cards, or is it an emulation library? If it is hw emulation the library really should be part of qemu.git, but there is nothing that prevents us to expanding the qemu Makefile to build the library and then have a separate RPM called qemu-libs or something that can be installed without the main qemu RPM being installed. Can you elaborate a bit on how spice uses libcacard? I can understand it relying on a library to access/manage smartcards, but the emulation bit puzzles me? If libcacard does both card management and emulation, my next question is whether it wouldn't make more sense to split the two into two separate packages? Cheers, Jes