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

Frediano Ziglio fziglio at redhat.com
Mon Feb 15 16:01:01 UTC 2016


Many new patches try to incrementally remove global reds variable so
they add RedsState* as parameter.

Changes:
- merged some patches;
- split "Remove global 'dispatchers', 'num_active_workers' variables"
  patch. Probably requires some changes in comments.
- fixed a bug in "Remove global 'dispatchers', 'num_active_workers'
  variables" patch causing spice-server-replay utility to hung.

No patches added to the list.

Frediano Ziglio (8):
  remove num_active_workers
  add RedsState parameter to update_client_mouse_allowed
  move calc_compression_level to reds
  keep dispatcher list in RedsState
  use list in RedsState for ic_change and sv_change
  remove unused function
  move red_dispatcher_on_vm_stop and red_dispatcher_on_vm_start to
    RedsState
  Remove global 'dispatchers', 'num_active_workers' variables

Jonathon Jongsma (10):
  CommonChannel -> CommonWorkerChannel
  Store reference to RedsState in RedDispatcher
  Add red_dispatcher_get_server()
  Remove use of global 'reds' within RedWorker
  Add red_channel_get_server()
  Add RedsState reference to RedsStream
  Remove global main_dispatcher variable
  Remove use of global 'reds' from sound.c
  Remove use of global 'reds' from AgentMsgFilter
  Remove last usage of global 'reds' variable

 server/agent-msg-filter.c  |   8 +-
 server/agent-msg-filter.h  |  11 +-
 server/cursor-channel.c    |  26 +--
 server/dcc.c               |   6 +-
 server/dcc.h               |   4 +-
 server/display-channel.c   |   3 +
 server/display-channel.h   |   2 +-
 server/inputs-channel.c    |   4 +-
 server/main-channel.c      |   5 +-
 server/main-dispatcher.c   |  83 +++++-----
 server/main-dispatcher.h   |  12 +-
 server/red-channel.c       |   9 +-
 server/red-channel.h       |   5 +-
 server/red-dispatcher.c    | 237 +++++++++------------------
 server/red-dispatcher.h    |  28 ++--
 server/red-worker.c        |  57 ++++---
 server/red-worker.h        |  45 +++---
 server/reds-private.h      |   3 +-
 server/reds-stream.c       |  26 +--
 server/reds-stream.h       |   3 +-
 server/reds.c              | 395 ++++++++++++++++++++++++++++++---------------
 server/reds.h              |   7 +-
 server/smartcard.c         |  15 +-
 server/sound.c             |  20 ++-
 server/sound.h             |   4 +-
 server/stream.c            |   5 +-
 server/tests/stream-test.c |   8 +-
 27 files changed, 576 insertions(+), 455 deletions(-)

-- 
2.5.0



More information about the Spice-devel mailing list