diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-08-14 15:39:01 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-15 09:56:46 +0300 |
commit | 2a322a84b14a8c5ec64b32e214f12bc32bffe818 (patch) | |
tree | fdd7501f2fd6859b63247fb9d128c2ca4d6c4691 | |
parent | ae5a462a211ebf7527a3030fc3b128e79db56831 (diff) |
enable seamless migration and set migration protocol versionseamless-migration.v1
-rw-r--r-- | server/main_channel.c | 1 | ||||
-rw-r--r-- | server/migration_protocol.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/server/main_channel.c b/server/main_channel.c index 22660f5..0fd5ab6 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 c96b60a..fa17c7c 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; |