[Spice-devel] [RFC v4 23/62] server/smartcard: support multiple clients

Alon Levy alevy at redhat.com
Thu May 5 00:58:22 PDT 2011


On Tue, May 03, 2011 at 01:52:20AM +0200, Marc-André Lureau wrote:
> On Tue, Apr 26, 2011 at 12:54 PM, Alon Levy <alevy at redhat.com> wrote:
> > each client supplying a smartcard channel gets it's own smartcard. If
> > there are not enough smartcards provided by the server (read: qemu)
> > then it will be as though there are none.
> >
> > currently disabled - later patches that enable smartcard don't make
> > this channel available to any but the first client.
> 
> Looks good, although I didn't test it. Did you?

No.

> 
> I wonder if having a smartcard device per client is best though. Since
> we are already sharing a session, a monitor, why shouldn't we share
> the smartcard device? Any good reason?

Well, what do you mean by sharing - client 1 has a card, it appears in the vm.
client 2 has a card, it appears in the vm as well. client 1 can use card 2 via
the vm, same the other way around. This is all untested, but that's what I'm aiming for.

> 
> -- 
> Marc-André Lureau


More information about the Spice-devel mailing list