[Spice-devel] [PATCH spice 0/2] small refactor of char-device buffer creation

Lukáš Hrázký lhrazky at redhat.com
Wed Nov 7 16:07:01 UTC 2018


Hello,

this is a small refactor I did for the char-device write buffer
creation, in particular for creating a write buffer for the vd_agent.

Of note, I didn't know how to test the smartcard and spicevmc codepaths,
I just assume they should be fine...

Lukáš Hrázký (2):
  char-device: separate functions to get write buffer for client and
    server
  reds: move vdagent write buffer creation into a function

 server/char-device.c              | 22 ++++----
 server/char-device.h              | 12 +++--
 server/red-stream-device.c        |  6 +--
 server/reds.c                     | 83 ++++++++++++++++---------------
 server/smartcard-channel-client.c |  3 +-
 server/smartcard.c                |  8 ++-
 server/spicevmc.c                 | 12 ++---
 7 files changed, 80 insertions(+), 66 deletions(-)

-- 
2.19.1



More information about the Spice-devel mailing list