summaryrefslogtreecommitdiffstats
path: root/spice.proto
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-01-12 13:24:52 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:54 +0100
commitcdb54a8fa557edb5a61119d372722028389e6143 (patch)
tree03e979b49464336d6af6d3304baeac8a1077ef19 /spice.proto
parentf74d9176a72ea758fc35ea34803c7041cf3e3ddc (diff)
downloadspice-protocol-cdb54a8fa557edb5a61119d372722028389e6143.tar.gz
spice-protocol-cdb54a8fa557edb5a61119d372722028389e6143.tar.xz
spice-protocol-cdb54a8fa557edb5a61119d372722028389e6143.zip
codegen: Fix enums.h generation
With the new usbredir code we have the new concept of the abstract / generic spicevmc channel type (which just tunnels data from a qemu chardev), and we've the usbredir channel, which is the only current user of this. This was reflected in the protocols enum in spice-protocol.h by a manual edit done by me, my bad. This patch teaches spice.proto about the relation between the abstract spicevmc channel and the usbredir channel and modifies codegen to deal with this. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'spice.proto')
-rw-r--r--spice.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/spice.proto b/spice.proto
index 266e03a..4d0731b 100644
--- a/spice.proto
+++ b/spice.proto
@@ -1112,13 +1112,16 @@ client:
Data data = 101;
};
-channel UsbredirChannel : BaseChannel {
+channel SpicevmcChannel : BaseChannel {
server:
Data data = 101;
client:
Data data = 101;
};
+channel UsbredirChannel : SpicevmcChannel {
+};
+
protocol Spice {
MainChannel main = 1;
DisplayChannel display;