[Spice-devel] [PATCH spice-server v2 00/12] Client callback refactory (was "RedChannel vfunc follow up")

Frediano Ziglio fziglio at redhat.com
Tue Mar 26 19:10:26 UTC 2019


Changes since v1:
- save running state in QXLState (Jonathon);
- many comment improvements;
- merged minor changes;
- remove some changes to MainDispatcher;
- some followups.

Frediano Ziglio (10):
  dispatcher: Allows to manage messages without registering them
  Move thread/dispatching handling to RedChannel
  Move DisplayChannel callbacks from RedWorker to DisplayChannel
  Check running state in red_qxl_set_client_capabilities
  Make some function static
  cursor-channel: Update some declarations and documentation
  red-worker: Remove only assigned fields
  Check image compression value earlier
  Move image_compression field from RedWorker to DisplayChannel
  display-channel: Inline red_migrate_display function

Jonathon Jongsma (2):
  Save running property in QXLState
  Make channel client callbacks virtual functions

 server/cursor-channel-client.h   |   6 +
 server/cursor-channel.c          |  17 ++-
 server/cursor-channel.h          |  31 +---
 server/dispatcher.c              |  77 +++++++---
 server/dispatcher.h              |  15 ++
 server/display-channel-private.h |   1 +
 server/display-channel.c         | 120 +++++++++++++++
 server/display-channel.h         |   5 +
 server/inputs-channel.c          |   9 +-
 server/main-channel.c            |   7 +-
 server/red-channel.c             | 140 ++++++++++++++---
 server/red-channel.h             |  19 +--
 server/red-qxl.c                 | 126 +++-------------
 server/red-replay-qxl.c          |   3 -
 server/red-stream-device.c       |   7 +-
 server/red-worker.c              | 252 +++----------------------------
 server/red-worker.h              |  48 ++----
 server/reds.c                    |  34 ++++-
 server/smartcard.c               |   6 +-
 server/sound.c                   |  18 +--
 server/spicevmc.c                |   7 +-
 server/stream-channel.c          |   5 +-
 server/tests/test-channel.c      |  13 +-
 23 files changed, 442 insertions(+), 524 deletions(-)

-- 
2.20.1



More information about the Spice-devel mailing list