summaryrefslogtreecommitdiff
path: root/spice1.proto
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2011-01-09 10:17:49 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:51 +0100
commita2257eff313f1ff06fc5f0b1192d25c75c502cd1 (patch)
tree94dfc23127dda88f2eae8eddc26216a439aa04f4 /spice1.proto
parent3a6de6d6fb0362df9e78fa64942a45c02bdabe53 (diff)
spice-client migration: fix minor for old migration support.
For not too old spice-migration, minor is 1. For older (ancient) spice-migration, minor is 0. Affects only VM migration while a spice client is connected.
Diffstat (limited to 'spice1.proto')
-rw-r--r--spice1.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/spice1.proto b/spice1.proto
index ebb2d6f..fa2524b 100644
--- a/spice1.proto
+++ b/spice1.proto
@@ -168,11 +168,11 @@ channel MainChannel : BaseChannel {
uint16 sport;
uint32 host_offset @zero;
uint32 host_size;
- pubkey_type pub_key_type @minor(2);
- uint32 pub_key_offset @minor(2) @zero;
- uint32 pub_key_size @minor(2);
+ pubkey_type pub_key_type @minor(1);
+ uint32 pub_key_offset @minor(1) @zero;
+ uint32 pub_key_size @minor(1);
uint8 host_data[host_size] @as_ptr @zero_terminated;
- uint8 pub_key_data[pub_key_size] @minor(2) @as_ptr @zero_terminated;
+ uint8 pub_key_data[pub_key_size] @minor(1) @as_ptr @zero_terminated;
} @ctype(SpiceMsgMainMigrationBegin) migrate_begin = 101;
Empty migrate_cancel;