[spice-gtk v1 0/6] migration object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Victor Toso <me@xxxxxxxxxxxxxx>

Hi,

This series goal is to reduce the work done in SpiceMainChannel around
migration and move that to a new object, the SpiceMainChannelMigration.

The intention is similar to what has been done for the file-transfer
feature in the past, to make the role of each object more assertive.

The migration is complex feature and works side by side with
SpiceSession and the state of all other channels. With this series, I've
moved the seamless migration to SpiceMainChannelMigration object.

Still pending work to move semi-seamless migration, moving some other
code out from SpiceSession and channel-main and some unit tests.

Victor Toso (6):
  Avoid accessing SpiceChannel's internals
  spice-channel: add internal spice_channel_set_state()
  usbredir: use g_object_get() for socket access
  channel-main: remove redundant if on SpiceSession creation
  channel-main: migration: set target session info early
  Introduce SpiceMainChannelMigration

 doc/reference/meson.build    |   1 +
 src/channel-inputs.c         |  65 ++++--
 src/channel-main-migration.c | 398 +++++++++++++++++++++++++++++++++++
 src/channel-main-migration.h |  63 ++++++
 src/channel-main.c           | 244 +++++----------------
 src/channel-usbredir.c       |   9 +-
 src/meson.build              |   2 +
 src/spice-audio.c            |   6 +-
 src/spice-channel-priv.h     |   1 +
 src/spice-channel.c          |  37 ++++
 src/spice-session-priv.h     |   4 +
 src/spice-session.c          |  33 ++-
 12 files changed, 643 insertions(+), 220 deletions(-)
 create mode 100644 src/channel-main-migration.c
 create mode 100644 src/channel-main-migration.h

-- 
2.21.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]