[Spice-devel] [PATCH spice-gtk 0/5] RFCv2: add NBD channel

Marc-André Lureau marcandre.lureau at gmail.com
Fri Nov 15 13:15:06 PST 2013


From: Marc-André Lureau <marcandre.lureau at redhat.com>

Hi list,

This is an updated patch series for the NBD channel support, sent back
in June that was ack by Hans. The most notable change is the handling
of migration, which is simply a session recreation. For the moment, as
long as the corresponding patches are not in qemu, I don't think this
needs to be merged in upstream.

Marc-André Lureau (5):
  session: add private get_migration_state
  Add simple NBD server library
  Add SpiceVMC GIOStream
  Add NBD channel
  Teach spicy to use a NBD channel

 configure.ac                         |   1 +
 doc/reference/spice-gtk-docs.xml     |   1 +
 doc/reference/spice-gtk-sections.txt |  18 +
 doc/reference/spice-gtk.types        |   3 +-
 gtk/Makefile.am                      |  20 +-
 gtk/channel-base.c                   |  48 ++
 gtk/channel-nbd.c                    | 449 +++++++++++++++++++
 gtk/channel-nbd.h                    |  88 ++++
 gtk/channel-port.c                   |  33 +-
 gtk/map-file                         |   5 +
 gtk/nbd/Makefile.am                  |  46 ++
 gtk/nbd/nbd-enums.c.etemplate        |  55 +++
 gtk/nbd/nbd-enums.h.etemplate        |  36 ++
 gtk/nbd/nbd-export.c                 | 425 ++++++++++++++++++
 gtk/nbd/nbd-export.h                 |  65 +++
 gtk/nbd/nbd-priv.h                   |  84 ++++
 gtk/nbd/nbd-server-session.c         | 837 +++++++++++++++++++++++++++++++++++
 gtk/nbd/nbd-server-session.h         |  56 +++
 gtk/nbd/nbd-server.c                 | 108 +++++
 gtk/nbd/nbd-server.h                 |  45 ++
 gtk/nbd/nbd.c                        |  25 ++
 gtk/nbd/nbd.h                        |  47 ++
 gtk/spice-channel-priv.h             |   8 +
 gtk/spice-channel.c                  |   6 +
 gtk/spice-client.h                   |   1 +
 gtk/spice-glib-sym-file              |   4 +
 gtk/spice-session-priv.h             |   1 +
 gtk/spice-session.c                  |  11 +-
 gtk/spicy.c                          | 101 ++++-
 gtk/vmcstream.c                      | 436 ++++++++++++++++++
 gtk/vmcstream.h                      |  69 +++
 31 files changed, 3090 insertions(+), 42 deletions(-)
 create mode 100644 gtk/channel-nbd.c
 create mode 100644 gtk/channel-nbd.h
 create mode 100644 gtk/nbd/Makefile.am
 create mode 100644 gtk/nbd/nbd-enums.c.etemplate
 create mode 100644 gtk/nbd/nbd-enums.h.etemplate
 create mode 100644 gtk/nbd/nbd-export.c
 create mode 100644 gtk/nbd/nbd-export.h
 create mode 100644 gtk/nbd/nbd-priv.h
 create mode 100644 gtk/nbd/nbd-server-session.c
 create mode 100644 gtk/nbd/nbd-server-session.h
 create mode 100644 gtk/nbd/nbd-server.c
 create mode 100644 gtk/nbd/nbd-server.h
 create mode 100644 gtk/nbd/nbd.c
 create mode 100644 gtk/nbd/nbd.h
 create mode 100644 gtk/vmcstream.c
 create mode 100644 gtk/vmcstream.h

-- 
1.8.3.1



More information about the Spice-devel mailing list