Hi all, commit 29b0040be6371c403dae0fef7fec36b814e300e8 breaks building when "--disable-spice" configure switch is used. The following patch fix this.
Best regards, Roy Signed-off-by: Roy Tam <roy...@gmail.com> --- diff --git a/vl.c b/vl.c index 7038952..6352673 100644 --- a/vl.c +++ b/vl.c @@ -2594,6 +2594,7 @@ int main(int argc, char **argv, char **envp) } break; } +#ifdef CONFIG_SPICE case QEMU_OPTION_spice: olist = qemu_find_opts("spice"); if (!olist) { @@ -2606,6 +2607,7 @@ int main(int argc, char **argv, char **envp) exit(1); } break; +#endif case QEMU_OPTION_writeconfig: { FILE *fp;