[Spice-devel] [PATCH 05/16] Change reds_mig_finished() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Wed Jan 20 07:43:31 PST 2016
From: Jonathon Jongsma <jjongsma at redhat.com>
---
server/reds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server/reds.c b/server/reds.c
index 9d0391f..6a2277c 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -2912,7 +2912,7 @@ static void reds_migrate_channels_seamless(RedsState *reds)
red_client_migrate(client);
}
-static void reds_mig_finished(int completed)
+static void reds_mig_finished(RedsState *reds, int completed)
{
spice_info(NULL);
@@ -3960,7 +3960,7 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_end(SpiceServer *s, int completed)
spice_info("no peer connected");
goto complete;
}
- reds_mig_finished(completed);
+ reds_mig_finished(reds, completed);
return 0;
complete:
if (sif->migrate_end_complete) {
--
2.4.3
More information about the Spice-devel
mailing list