From: Gerd Hoffmann Date: Tue, 3 Mar 2015 08:27:28 +0000 (+0100) Subject: hmp: info spice: take out webdav X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~323^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c6044a94e52db8aef9a71d616c7a0914adb71ab;p=sdk%2Femulator%2Fqemu.git 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 Reviewed-by: Cole Robinson --- 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);