[Spice-devel] [PATCH 0/8] Remove some global variable

Frediano Ziglio fziglio at redhat.com
Mon Jun 20 09:15:04 UTC 2016


This patch serie continue the removal of global variable
attempting to support also multiple SpiceServer instances.

Frediano Ziglio (8):
  Constify event_loop_core
  Make spice_server_char_device_recognized_subtypes_list static
  Constify spice_server_char_device_recognized_subtypes
  Make servers global static
  Remove code_public and core_interface_adapter globals usage
  Make core_interface_adapter constant
  Initialise OpenSSL just once
  Protect globals servers variable with a mutex

 server/event-loop.c             | 29 ++++++++++-------
 server/red-channel.c            | 59 +++++++++++++++++++---------------
 server/red-common.h             | 14 ++++----
 server/reds-private.h           |  2 +-
 server/reds.c                   | 71 +++++++++++++++++++++++++----------------
 server/spice-char.h             |  2 +-
 server/tests/basic_event_loop.c | 45 ++++++++++++++++++++------
 7 files changed, 139 insertions(+), 83 deletions(-)

-- 
2.7.4



More information about the Spice-devel mailing list