diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-18 14:23:36 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-09-25 15:04:08 +0300 |
commit | b8213167717979e6f2fb52646e43eb458634e6a1 (patch) | |
tree | da2f83cadaaee73684b72d96c18cf03363f44659 | |
parent | ddf1188b30aed7f66aefdaac61835ee5371e9747 (diff) | |
download | spice-b8213167717979e6f2fb52646e43eb458634e6a1.tar.gz spice-b8213167717979e6f2fb52646e43eb458634e6a1.tar.xz spice-b8213167717979e6f2fb52646e43eb458634e6a1.zip |
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.
-rw-r--r-- | server/reds.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/server/reds.c b/server/reds.c index e61751dc..8ee002f6 100644 --- a/server/reds.c +++ b/server/reds.c @@ -5142,16 +5142,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; } |