[Spice-devel] [spice-gtk v1 0/6] migration object
Victor Toso
victortoso at redhat.com
Tue Sep 24 09:14:56 UTC 2019
From: Victor Toso <me at victortoso.com>
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
More information about the Spice-devel
mailing list