aboutsummaryrefslogtreecommitdiff
path: root/softmmu/vl.c
diff options
context:
space:
mode:
Diffstat (limited to 'softmmu/vl.c')
-rw-r--r--softmmu/vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c
index 0b81f61535..f7d7c9550d 100644
--- a/softmmu/vl.c
+++ b/softmmu/vl.c
@@ -3537,6 +3537,7 @@ void qemu_init(int argc, char **argv, char **envp)
case QEMU_OPTION_readconfig:
qemu_read_config_file(optarg, qemu_parse_config_group, &error_fatal);
break;
+#ifdef CONFIG_SPICE
case QEMU_OPTION_spice:
olist = qemu_find_opts_err("spice", NULL);
if (!olist) {
@@ -3549,6 +3550,7 @@ void qemu_init(int argc, char **argv, char **envp)
}
display_remote++;
break;
+#endif
case QEMU_OPTION_writeconfig:
{
FILE *fp;