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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]