server: turn spice_server_migrate_start into a valid call

We will add a qemu call to spice_server_migrate_start when migration starts.
For now, it does nothing, but we may need this notification in the future.
(cherry picked from commit b821316771 branch 0.8)
This commit is contained in:
Yonit Halperin 2011-09-18 14:23:36 +03:00
parent f683815ad5
commit 7696657174

View File

@ -4019,16 +4019,10 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_info(SpiceServer *s, const char* des
SPICE_GNUC_VISIBLE int spice_server_migrate_start(SpiceServer *s)
{
ASSERT(reds == s);
if (1) {
/* seamless doesn't work, fixing needs protocol change. */
return -1;
}
red_printf("");
if (!reds->mig_spice) {
return -1;
}
reds_mig_started();
return 0;
}