diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-03-24 16:07:15 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-03-24 16:11:59 +0100 |
commit | a668cb38e2711ed8b5d4a4f60d1868d263c05e28 (patch) | |
tree | 4552e8e5e8ec484f3795df71b84181bd74e3aadd | |
parent | 6314aee92d4283f40fd64016f450aeab464bb99b (diff) | |
download | spice-protocol-a668cb38e2711ed8b5d4a4f60d1868d263c05e28.tar.gz spice-protocol-a668cb38e2711ed8b5d4a4f60d1868d263c05e28.tar.xz spice-protocol-a668cb38e2711ed8b5d4a4f60d1868d263c05e28.zip |
Add SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST message
This is a simpler form of migration
-rw-r--r-- | spice/protocol.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spice/protocol.h b/spice/protocol.h index 02709be..60016df 100644 --- a/spice/protocol.h +++ b/spice/protocol.h @@ -158,6 +158,8 @@ enum { SPICE_MSG_MAIN_AGENT_DATA, SPICE_MSG_MAIN_AGENT_TOKEN, + SPICE_MSG_MAIN_MIGRATE_SWITCH_HOST, + SPICE_MSG_END_MAIN, }; @@ -223,6 +225,15 @@ typedef struct SPICE_ATTR_PACKED SpiceMsgMainMigrationBegin { uint32_t pub_key_size; } SpiceMsgMainMigrationBegin; +typedef struct SPICE_ATTR_PACKED SpiceMsgMainMigrationSwitchHost { + uint16_t port; + uint16_t sport; + uint32_t host_offset; + uint32_t host_size; + uint32_t cert_subject_offset; + uint32_t cert_subject_size; +} SpiceMsgMainMigrationSwitchHost; + enum { SPICE_MIGRATE_NEED_FLUSH = (1 << 0), SPICE_MIGRATE_NEED_DATA_TRANSFER = (1 << 1), |