mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
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>
This commit is contained in:
parent
22fa7da000
commit
7c6044a94e
5
hmp.c
5
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);
|
||||
|
Loading…
Reference in New Issue
Block a user