[Spice-devel] [PATCH spice-server v4 0/3] Change the way we pass capabilities

Frediano Ziglio fziglio at redhat.com
Thu Mar 2 12:30:23 UTC 2017


This patchset attempt to pass capabilities using a single
RedChannelCapabilities (already existing) structure.

Changes since v3:
- revert some indentation;
- define and use a TYPE_RED_CHANNEL_CAPABILITIES;
- minor style changes.

Changes since v2:
- merge GArray and RedChannelCapabilites usage;
- split removing reading capability properties;
- move object to separate files.

Changes since v1:
- use RedChannelCapabilities instead of 2 GArrays.

Frediano Ziglio (3):
  red-channel-client: Make capabilities property write only
  red-channel: Separate RedChannelCapabilities
  red-channel: Use RedChannelCapabilities directly to pass capabilities

 server/Makefile.am                |  2 +
 server/cursor-channel-client.c    | 22 +----------
 server/cursor-channel-client.h    |  4 +-
 server/cursor-channel.c           |  6 +--
 server/cursor-channel.h           |  3 +-
 server/dcc.c                      | 22 +----------
 server/dcc.h                      |  5 +--
 server/inputs-channel-client.c    | 23 +----------
 server/inputs-channel-client.h    |  5 +--
 server/inputs-channel.c           |  7 +---
 server/main-channel-client.c      | 22 +----------
 server/main-channel-client.h      |  3 +-
 server/main-channel.c             |  7 +---
 server/main-channel.h             |  4 +-
 server/red-channel-capabilities.c | 68 +++++++++++++++++++++++++++++++++
 server/red-channel-capabilities.h | 51 +++++++++++++++++++++++++
 server/red-channel-client.c       | 80 ++++-----------------------------------
 server/red-channel-client.h       |  3 +-
 server/red-channel.c              | 19 +++-------
 server/red-channel.h              | 15 ++------
 server/red-qxl.c                  | 24 +++---------
 server/red-qxl.h                  | 10 +----
 server/red-worker.c               | 11 ++----
 server/reds.c                     | 41 ++++++++++++++------
 server/smartcard-channel-client.c | 22 +----------
 server/smartcard-channel-client.h |  3 +-
 server/smartcard.c                |  6 +--
 server/sound.c                    | 37 ++++--------------
 server/spicevmc.c                 | 11 +++---
 29 files changed, 217 insertions(+), 319 deletions(-)
 create mode 100644 server/red-channel-capabilities.c
 create mode 100644 server/red-channel-capabilities.h

-- 
2.9.3



More information about the Spice-devel mailing list