[Spice-devel] [PATCH 0/9] RFC NBD channel

Marc-André Lureau marcandre.lureau at gmail.com
Mon Nov 18 02:28:24 PST 2013


Hi,

The following patch series implement support for a block device
channel with Spice server. The first 3 patches could be reviewed
seperately though.

The most notable change is the modification of the main loop
interface, which will pass the SpiceBaseInstance. This allows the
server program to integrate different Spice interfaces in different
main loop contexts.

However, since the server library is not multi-thread safe, those
contexts must be from the same thread (currently qemu main loop and
AIO loop for example), or carefully serialized.

Marc-André Lureau (9):
  reds: lookup corresponding channel id
  build-sys: check for spicy-screenshot
  clean-up: remove unused function
  build-sys: bump current, as ABI is going to be broken next
  server: add an optionnal pointer to SpiceBaseInstance
  server: optionally pass SpiceBaseInstance to watch and timer
  server: add user_data to SpiceBaseInstance
  RFC: add the NBD channel
  chardev: learn to keep running when vm is stopped

 configure.ac                                   | 12 +++++-----
 server/char_device.c                           | 16 ++++++++++---
 server/char_device.h                           |  1 +
 server/inputs_channel.c                        |  3 ++-
 server/main_channel.c                          |  6 +++--
 server/main_dispatcher.c                       |  2 +-
 server/red_channel.c                           | 21 ++++++++++-------
 server/red_channel.h                           |  5 +++-
 server/red_worker.c                            | 14 +++++++----
 server/reds.c                                  | 32 +++++++++++++++-----------
 server/reds.h                                  |  1 -
 server/smartcard.c                             |  1 +
 server/snd_worker.c                            | 10 +++++---
 server/spice.h                                 | 11 +++++----
 server/spice_timer_queue.c                     |  2 +-
 server/spice_timer_queue.h                     |  2 +-
 server/spicevmc.c                              |  1 +
 server/tests/basic_event_loop.c                |  6 +++--
 server/tests/test_display_base.c               |  2 +-
 server/tests/test_display_no_ssl.c             |  2 +-
 server/tests/test_display_resolution_changes.c |  2 +-
 server/tests/test_display_width_stride.c       |  2 +-
 server/tests/test_empty_success.c              |  5 ++--
 server/tests/test_playback.c                   |  2 +-
 server/tests/test_vdagent.c                    |  2 +-
 spice-common                                   |  2 +-
 26 files changed, 105 insertions(+), 60 deletions(-)

-- 
1.8.3.1



More information about the Spice-devel mailing list