[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/7] hmp: info spice: take out webdav
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 7/7] hmp: info spice: take out webdav |
Date: |
Wed, 4 Mar 2015 15:30:49 +0100 |
Obvious suggestion for the next spice-protocol
release: Add some way to #ifdef new stuff.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Cole Robinson <address@hidden>
---
hmp.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hmp.c b/hmp.c
index eacfb1b..71c28bc 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);
--
1.8.3.1
- [Qemu-devel] [PULL 0/7] spice patch queue, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 3/7] qxl: refactor rounding up to a nearest power of 2, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 1/7] qxl: document minimal video memory for new modes, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 7/7] hmp: info spice: take out webdav,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 2/7] spice: fix invalid memory access to vga.vram, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 5/7] qxl: drop update_displaychangelistener call for secondary qxl devices, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 4/7] vga: refactor vram_size clamping and rounding, Gerd Hoffmann, 2015/03/04
- [Qemu-devel] [PULL 6/7] hmp: info spice: Show string channel name, Gerd Hoffmann, 2015/03/04
- Re: [Qemu-devel] [PULL 0/7] spice patch queue, Peter Maydell, 2015/03/08