diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-10-20 08:46:55 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-10-20 08:46:55 -0500 |
commit | a6e43daa732b90b9ca58e7c38f6faa5a82f4b176 (patch) | |
tree | 7c8c8e63ff65cef5e3f9b0e3cded21b160e4e93d /ui | |
parent | 46cd37e7718f6c2c502228a61b3a0811c849c52f (diff) | |
parent | ee86c61f285042386c0a27edf69300627a1987b4 (diff) | |
download | qemu-a6e43daa732b90b9ca58e7c38f6faa5a82f4b176.zip qemu-a6e43daa732b90b9ca58e7c38f6faa5a82f4b176.tar.gz qemu-a6e43daa732b90b9ca58e7c38f6faa5a82f4b176.tar.bz2 |
Merge remote-tracking branch 'quintela/migration-pull' into staging
Diffstat (limited to 'ui')
-rw-r--r-- | ui/spice-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/spice-core.c b/ui/spice-core.c index 3cbc721..b33366e 100644 --- a/ui/spice-core.c +++ b/ui/spice-core.c @@ -447,9 +447,9 @@ void do_info_spice(Monitor *mon, QObject **ret_data) static void migration_state_notifier(Notifier *notifier, void *data) { - int state = get_migration_state(); + MigrationState *s = data; - if (state == MIG_STATE_COMPLETED) { + if (migration_has_finished(s)) { #if SPICE_SERVER_VERSION >= 0x000701 /* 0.7.1 */ spice_server_migrate_switch(spice_server); #endif |