[Spice-devel] [PATCH 00/19] Backported some patches from refactory branches (16th Feb)

Frediano Ziglio fziglio at redhat.com
Tue Feb 16 14:32:43 UTC 2016


Some last patch to remove global reds variable.

Changes:
- rebased on master;
- merged many patches;
- changed "Remove use of global 'reds' within RedWorker" not
  exposing internal RedWorker state;
- added new patches.

Christophe Fergeau (11):
  Introduce reds_core_watch_*
  Introduce reds_core_timer_*
  Make use of the new reds_core_timer_* API
  Introduce spice_char_device_get_interface()
  Remove dependency of vdi_port_read_buf_process on RedsState
  Replace RedsPrivate::char_devs_state with a GList
  Replace RedsPrivate::mig_wait_disconnect_clients with a GList
  Rename red_channel_pipe_item_init to red_pipe_item_init
  char-device: Refactor spice_char_device_client_add a bit
  char-device: Add helpers for SpiceCharDeviceCallbacks vfuncs
  char-device: Make SpiceCharDeviceState a gobject

Jonathon Jongsma (8):
  CommonChannel -> CommonWorkerChannel
  Store reference to RedsState in RedDispatcher
  Add red_dispatcher_get_server()
  Remove use of global 'reds' within RedWorker
  Remove last usage of global 'reds' variable
  Convert Dispatcher and MainDispatcher to GObjects
  Free dispatchers at exit
  Hook up main_dispatcher_constructed()

 server/cache-item.tmpl.c |   3 +-
 server/char-device.c     | 712 ++++++++++++++++++++++++++++++++---------------
 server/char-device.h     |  40 ++-
 server/cursor-channel.c  |  28 +-
 server/dcc.c             |  32 +--
 server/dcc.h             |   4 +-
 server/dispatcher.c      | 233 ++++++++++++----
 server/dispatcher.h      |  53 ++--
 server/display-channel.c |   5 +-
 server/display-channel.h |   5 +-
 server/inputs-channel.c  |  11 +-
 server/main-channel.c    |  38 +--
 server/main-dispatcher.c | 157 +++++++++--
 server/main-dispatcher.h |  25 ++
 server/red-channel.c     |   6 +-
 server/red-channel.h     |   2 +-
 server/red-dispatcher.c  | 101 ++++---
 server/red-dispatcher.h  |   7 +-
 server/red-worker.c      |  61 ++--
 server/red-worker.h      |  46 +--
 server/reds-private.h    |  15 +-
 server/reds-stream.c     |   9 +-
 server/reds.c            | 407 ++++++++++++++-------------
 server/reds.h            |  22 +-
 server/smartcard.c       |  23 +-
 server/sound.c           |  11 +-
 server/spicevmc.c        |  23 +-
 server/stream.c          |  12 +-
 28 files changed, 1344 insertions(+), 747 deletions(-)

-- 
2.5.0



More information about the Spice-devel mailing list