summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/main_channel.c1
-rw-r--r--server/migration_protocol.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/server/main_channel.c b/server/main_channel.c
index 22660f53..0fd5ab6f 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -1184,6 +1184,7 @@ MainChannel* main_channel_init(void)
SPICE_MIGRATE_NEED_FLUSH | SPICE_MIGRATE_NEED_DATA_TRANSFER);
spice_assert(channel);
red_channel_set_cap(channel, SPICE_MAIN_CAP_SEMI_SEAMLESS_MIGRATE);
+ red_channel_set_cap(channel, SPICE_MAIN_CAP_SEAMLESS_MIGRATE);
client_cbs.migrate = main_channel_client_migrate;
red_channel_register_client_cbs(channel, &client_cbs);
diff --git a/server/migration_protocol.h b/server/migration_protocol.h
index c96b60a0..fa17c7c4 100644
--- a/server/migration_protocol.h
+++ b/server/migration_protocol.h
@@ -27,7 +27,7 @@
/* increase the version when the version of any
* of the migration data messages is increased */
-#define SPICE_MIGRATION_PROTOCOL_VERSION ~0
+#define SPICE_MIGRATION_PROTOCOL_VERSION 1
typedef struct __attribute__ ((__packed__)) SpiceMigrateDataHeader {
uint32_t magic;