summaryrefslogtreecommitdiff
path: root/spice1.proto
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2012-07-02 13:23:32 +0300
committerYonit Halperin <yhalperi@redhat.com>2012-08-27 09:06:26 +0300
commitc2f58492ad2df22c4eb4e6c04750010113dce567 (patch)
tree5bc19df3545dd6ff2b4d38ce8072ba5c4692f62d /spice1.proto
parentc6bd210ad0b6eb485fda25426ab9d75253439f54 (diff)
support seamless migration
see spice-protocol for more details commit 3838ad140a046c4ddf42fef58c9727ecfdc09f9f
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto10
1 files changed, 7 insertions, 3 deletions
diff --git a/spice1.proto b/spice1.proto
index 2ed1058..2d22cdf 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -161,9 +161,7 @@ struct ChannelId {
uint8 id;
};
-channel MainChannel : BaseChannel {
- server:
- message {
+struct DstInfo {
uint16 port;
uint16 sport;
uint32 host_offset @zero;
@@ -173,6 +171,12 @@ channel MainChannel : BaseChannel {
uint32 pub_key_size @minor(1);
uint8 host_data[host_size] @as_ptr @zero_terminated;
uint8 pub_key_data[pub_key_size] @minor(1) @as_ptr @zero_terminated;
+} @ctype(SpiceMigrationDstInfo);
+
+channel MainChannel : BaseChannel {
+ server:
+ message {
+ DstInfo dst_info;
} @ctype(SpiceMsgMainMigrationBegin) migrate_begin = 101;
Empty migrate_cancel;