[Spice-devel] [PATCH 02/16] Change reds_mig_cleanup_wait_disconnect() to take RedsState arg
Frediano Ziglio
fziglio at redhat.com
Wed Jan 20 07:43:28 PST 2016
From: Jonathon Jongsma <jjongsma at redhat.com>
---
server/reds.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/server/reds.c b/server/reds.c
index 101e957..0b389c2 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -206,7 +206,7 @@ struct ChannelSecurityOptions {
static void migrate_timeout(void *opaque);
static RedsMigTargetClient* reds_mig_target_client_find(RedsState *reds, RedClient *client);
static void reds_mig_target_client_free(RedsState *reds, RedsMigTargetClient *mig_client);
-static void reds_mig_cleanup_wait_disconnect(void);
+static void reds_mig_cleanup_wait_disconnect(RedsState *reds);
static void reds_mig_remove_wait_disconnect_client(RedClient *client);
static void reds_char_device_add_state(SpiceCharDeviceState *st);
static void reds_char_device_remove_state(SpiceCharDeviceState *st);
@@ -426,7 +426,7 @@ static void reds_mig_cleanup(RedsState *reds)
reds->mig_wait_connect = FALSE;
reds->mig_wait_disconnect = FALSE;
core->timer_cancel(reds->mig_timer);
- reds_mig_cleanup_wait_disconnect();
+ reds_mig_cleanup_wait_disconnect(reds);
}
}
@@ -2869,7 +2869,7 @@ static void reds_mig_fill_wait_disconnect(RedsState *reds)
core->timer_start(reds->mig_timer, MIGRATE_TIMEOUT);
}
-static void reds_mig_cleanup_wait_disconnect(void)
+static void reds_mig_cleanup_wait_disconnect(RedsState *reds)
{
RingItem *wait_client_item;
--
2.4.3
More information about the Spice-devel
mailing list