[Spice-devel] [PATCH spice-gtk 00/13] migration fixes

Marc-André Lureau marcandre.lureau at redhat.com
Sun Nov 9 08:31:32 PST 2014


Hi,

Here is a series of patch to fix a couple of bugs related to
migration. I have been testing and fixing the seamless, non-seamless
and switch-host in normal conditions. And I have "disabled" the bad
migration behaviour in cases where the fd are provided by the client.

Currently the fd request is done on the migration session, which is
not connected with the client session, so the client has no way to
provide fd for the migration. And the original and migration session
ends up stuck. Failing early seems the best for now.

Marc-André Lureau (13):
  migration: add a few more pre-conditions in migration code
  migration: abort migrate on disconnect
  migration: add connection state
  migration: set session migration during connect
  migration: fail with client provided fd
  migration: set connecting state before fd request
  migration: remove migration cleanup from dispose
  migration: create the migration session earlier
  migration: remove unnecessary reference
  migration: use spice_session_abort_migration() on error
  coroutine: reference object when signaling
  migration: don't check socket error
  migration: delay switch host reconnect

 TODO                     |  2 +-
 gtk/channel-main.c       | 30 +++++++++++++----------
 gtk/gio-coroutine.c      |  5 +++-
 gtk/spice-channel.c      | 31 ++++++++++++++++++++----
 gtk/spice-session-priv.h |  1 -
 gtk/spice-session.c      | 62 +++++++++++++++++++++++++++---------------------
 gtk/spice-session.h      |  2 ++
 7 files changed, 86 insertions(+), 47 deletions(-)

-- 
1.9.3



More information about the Spice-devel mailing list