[Spice-devel] [PATCH v2 0/9] smartcard updates for libcacard 0.1.2
Alon Levy
alevy at redhat.com
Wed Feb 9 02:20:39 PST 2011
The protocol has been updated through the review process on qemu-devel.
These patches address the changes:
* big endianess byte order
* VSC_Error response for ReaderAdd, ReaderRemove, ATR and CardRemove.
The most complicated patch is the last, touching the client. It adds a
synchronized event queue for the four Card/Reader Remove/Add messages, so we
only have one outstanding (waiting for VSC_Error response) message in the
client.
Alon Levy (9):
server/smartcard: s/reader_id_t/uint32_t/ (libcacard changed)
server/smartcard: libcacard removed ReaderAddResponse
client/smartcard: s/reader_id_t/uint32_t/ (libcacard changed)
server/smartcard: libcacard uses network byte order, so we must too
server/smartcard: print instead of assert on bad reader_id in
smartcard_char_device_on_message_from_device
server/smartcard: ignore VSC_Init from client
client/smartcard: ignore VSC_Init
server/smartcard: don't push our own error on reader add
client/smartcard: libcacard dropped ReaderAddResponse
client/smartcard_channel.cpp | 99 ++++++++++++++++++++++++++++++++----------
client/smartcard_channel.h | 21 ++++++---
server/smartcard.c | 92 +++++++++++++++------------------------
3 files changed, 127 insertions(+), 85 deletions(-)
--
1.7.4
More information about the Spice-devel
mailing list