qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] QEMU_OPTION_spice is not guarded by ifdef


From: Roy Tam
Subject: [Qemu-devel] [PATCH] QEMU_OPTION_spice is not guarded by ifdef
Date: Tue, 26 Oct 2010 19:33:09 +0800

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 <address@hidden>
---

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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]