diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2015-03-03 09:27:28 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-03-04 14:47:52 +0100 |
| commit | 7c6044a94e52db8aef9a71d616c7a0914adb71ab (patch) | |
| tree | c347e3c037c19511c72b12b241e66a1a23a7a162 | |
| parent | 22fa7da0005c939c940634da069ecb9bbb199a2a (diff) | |
| download | focaccia-qemu-7c6044a94e52db8aef9a71d616c7a0914adb71ab.tar.gz focaccia-qemu-7c6044a94e52db8aef9a71d616c7a0914adb71ab.zip | |
hmp: info spice: take out webdav
Obvious suggestion for the next spice-protocol release: Add some way to #ifdef new stuff. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Cole Robinson <crobinso@redhat.com>
| -rw-r--r-- | hmp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c index eacfb1b5a9..71c28bc816 100644 --- a/hmp.c +++ b/hmp.c @@ -561,7 +561,12 @@ void hmp_info_spice(Monitor *mon, const QDict *qdict) [SPICE_CHANNEL_SMARTCARD] = "smartcard", [SPICE_CHANNEL_USBREDIR] = "usbredir", [SPICE_CHANNEL_PORT] = "port", +#if 0 + /* minimum spice-protocol is 0.12.3, webdav was added in 0.12.7, + * no easy way to #ifdef (SPICE_CHANNEL_* is a enum). Disable + * as quick fix for build failures with older versions. */ [SPICE_CHANNEL_WEBDAV] = "webdav", +#endif }; info = qmp_query_spice(NULL); |