From: Jonathon Jongsma <jjongsma@xxxxxxxxxx> --- server/reds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/reds.c b/server/reds.c index b079e02..a277df9 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1613,7 +1613,7 @@ static void reds_mig_target_client_free(RedsState *reds, RedsMigTargetClient *mi free(mig_client); } -static void reds_mig_target_client_disconnect_all(void) +static void reds_mig_target_client_disconnect_all(RedsState *reds) { RingItem *now, *next; @@ -2950,7 +2950,7 @@ static void migrate_timeout(void *opaque) /* we will fall back to the switch host scheme when migration completes */ main_channel_migrate_cancel_wait(reds->main_channel); /* in case part of the client haven't yet completed the previous migration, disconnect them */ - reds_mig_target_client_disconnect_all(); + reds_mig_target_client_disconnect_all(reds); reds_mig_cleanup(reds); } else { reds_mig_disconnect(reds); -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel