diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2011-09-18 14:23:36 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2011-11-02 11:30:18 +0200 |
commit | 76966571748efa32a706d21830349ab2431aa4e6 (patch) | |
tree | d50efc50bfe11b0f4ec6ff0932fd60560f7302a4 /server | |
parent | f683815ad53cc39f485ddac9770e23282ca5c340 (diff) | |
download | spice-76966571748efa32a706d21830349ab2431aa4e6.tar.gz spice-76966571748efa32a706d21830349ab2431aa4e6.tar.xz spice-76966571748efa32a706d21830349ab2431aa4e6.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.
(cherry picked from commit b8213167717979e6f2fb52646e43eb458634e6a1 branch 0.8)
Diffstat (limited to 'server')
-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 045e2752..acd8495f 100644 --- a/server/reds.c +++ b/server/reds.c @@ -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; } |