diff options
author | Yonit Halperin <yhalperi@redhat.com> | 2012-07-02 13:23:32 +0300 |
---|---|---|
committer | Yonit Halperin <yhalperi@redhat.com> | 2012-08-27 09:06:26 +0300 |
commit | c2f58492ad2df22c4eb4e6c04750010113dce567 (patch) | |
tree | 5bc19df3545dd6ff2b4d38ce8072ba5c4692f62d /spice.proto | |
parent | c6bd210ad0b6eb485fda25426ab9d75253439f54 (diff) | |
download | spice-common-c2f58492ad2df22c4eb4e6c04750010113dce567.tar.gz spice-common-c2f58492ad2df22c4eb4e6c04750010113dce567.tar.xz spice-common-c2f58492ad2df22c4eb4e6c04750010113dce567.zip |
support seamless migration
see spice-protocol for more details
commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f
Diffstat (limited to 'spice.proto')
-rw-r--r-- | spice.proto | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/spice.proto b/spice.proto index 271e35d..2ef4dd6 100644 --- a/spice.proto +++ b/spice.proto @@ -193,15 +193,19 @@ struct ChannelId { uint8 id; }; -channel MainChannel : BaseChannel { - server: - message { +struct DstInfo { uint16 port; uint16 sport; uint32 host_size; uint8 *host_data[host_size] @zero_terminated @marshall @nonnull; uint32 cert_subject_size; uint8 *cert_subject_data[cert_subject_size] @zero_terminated @marshall; +} @ctype(SpiceMigrationDstInfo); + +channel MainChannel : BaseChannel { + server: + message { + DstInfo dst_info; } @ctype(SpiceMsgMainMigrationBegin) migrate_begin = 101; Empty migrate_cancel; @@ -267,6 +271,14 @@ channel MainChannel : BaseChannel { uint32 num_tokens; } agent_connected_tokens; + message { + DstInfo dst_info; + uint32 src_mig_version; + } migrate_begin_seamless; + + Empty migrate_dst_seamless_ack; + Empty migrate_dst_seamless_nack; + client: message { uint64 cache_size; @@ -293,6 +305,12 @@ channel MainChannel : BaseChannel { } @ctype(SpiceMsgcMainAgentTokens) agent_token; Empty migrate_end; + + message { + uint32 src_version; + } migrate_dst_do_seamless; + + Empty migrate_connected_seamless; }; enum8 clip_type { |