summaryrefslogtreecommitdiffstats
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorMarc-André Lureau2021-09-09 10:44:11 +0200
committerMarc-André Lureau2022-03-22 11:39:06 +0100
commit5324e3e958e87083c87e2965b6c87db24c6afa90 (patch)
tree61b7a17a07ed9f13a4b0fdde06942cc4de083c5b /qemu-options.hx
parentMerge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (diff)
downloadqemu-5324e3e958e87083c87e2965b6c87db24c6afa90.tar.gz
qemu-5324e3e958e87083c87e2965b6c87db24c6afa90.tar.xz
qemu-5324e3e958e87083c87e2965b6c87db24c6afa90.zip
qemu-options: define -spice only #ifdef CONFIG_SPICE
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1982600 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 58f2f76775..34e9b32a5c 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2097,6 +2097,7 @@ SRST
Enable SDL.
ERST
+#ifdef CONFIG_SPICE
DEF("spice", HAS_ARG, QEMU_OPTION_spice,
"-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]\n"
" [,x509-key-file=<file>][,x509-key-password=<file>]\n"
@@ -2118,6 +2119,7 @@ DEF("spice", HAS_ARG, QEMU_OPTION_spice,
" enable spice\n"
" at least one of {port, tls-port} is mandatory\n",
QEMU_ARCH_ALL)
+#endif
SRST
``-spice option[,option[,...]]``
Enable the spice remote desktop protocol. Valid options are