[Spice-devel] [PATCH 00/15] Backported some patches from refactory branches (21th Jan)

Frediano Ziglio fziglio at redhat.com
Thu Jan 21 08:16:15 PST 2016


Patches that change to use local 's' argument now renamed the argument
to 'reds' (like global one).

This patchset contain miscellaneous patch mainly addressed to remove some
global state.

Jonathon Jongsma (15):
  Change spice_server_set_ticket() to use local 'reds'
  spice_server_add_interface: use local 'reds' variable
  Remove global inputs channel
  inputs_init() -> inputs_channel_new()
  main_channel_init() -> main_channel_new()
  Remove use of global 'reds' var from spice_server_remove_interface()
  Change init_vd_agent_resources() to take RedsState arg
  Make default_security and channels_security non-global
  Move default_renderer into RedsState
  Fix crash when checking mouse mode
  Store 'renderers' as GArray in RedsState
  Move spice_port to RedsState struct
  Move vdagent to RedsState struct
  Move migration_interface to RedsState struct
  Move spice_secure_port to RedsState struct

 server/char-device.c     |  10 ++
 server/char-device.h     |   2 +
 server/display-channel.c |  13 +--
 server/display-channel.h |   3 +-
 server/inputs-channel.c  | 257 +++++++++++++++++++++++++++--------------------
 server/inputs-channel.h  |  27 +++--
 server/main-channel.c    |   4 +-
 server/main-channel.h    |   2 +-
 server/reds-private.h    |  13 +++
 server/reds.c            | 206 ++++++++++++++++++-------------------
 server/reds.h            |   7 +-
 11 files changed, 310 insertions(+), 234 deletions(-)

-- 
2.4.3



More information about the Spice-devel mailing list