[Spice-devel] [PATCH spice-server 0/3] Move alloc_recv_buf and release_recv_buf to RedChannelClient

Frediano Ziglio fziglio at redhat.com
Tue Feb 28 09:43:32 UTC 2017


The purpose of these patches is to move the 2 mentioned vfuncs from
RedChannel to RedChannelClient. This was discussed previously.
The reasons are that the function works on stuff related to client
(network buffer for the client stream) and having into RedChannel
make easier to to some wrong assumption which prove the cause
bugs (multiple client issues due to buffer rewritten).

Frediano Ziglio (3):
  red-channel: Use directly a GArray to pass capabilities
  Introduce CommonGraphicsChannelClient
  red-channel: Move alloc_recv_buf and release_recv_buf to
    RedChannelClient

 server/common-graphics-channel.c  | 33 +++++++++++++---
 server/common-graphics-channel.h  | 32 +++++++++++++++
 server/cursor-channel-client.c    | 25 ++----------
 server/cursor-channel-client.h    |  9 ++---
 server/cursor-channel.c           |  6 +--
 server/cursor-channel.h           |  9 ++---
 server/dcc.c                      | 25 ++----------
 server/dcc.h                      | 28 +++++--------
 server/inputs-channel-client.c    | 60 ++++++++++++++++++----------
 server/inputs-channel-client.h    |  5 +--
 server/inputs-channel.c           | 40 +------------------
 server/main-channel-client.c      | 36 +++++++++++++++++
 server/main-channel.c             | 36 -----------------
 server/red-channel-client.c       | 31 ++++-----------
 server/red-channel-client.h       |  6 ++-
 server/red-channel.c              | 28 ++++++++++---
 server/red-channel.h              |  9 +----
 server/red-qxl.c                  | 26 ++++--------
 server/red-qxl.h                  | 12 ++----
 server/red-worker.c               | 13 +++---
 server/smartcard-channel-client.c | 47 ++++++++++------------
 server/smartcard-channel-client.h | 22 +----------
 server/smartcard.c                |  9 ++---
 server/sound.c                    | 44 ++++++---------------
 server/spicevmc.c                 | 83 +++++++++++++++++++++++++++++++++++----
 25 files changed, 330 insertions(+), 344 deletions(-)

-- 
2.9.3



More information about the Spice-devel mailing list