qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] QEMU_OPTION_spice is not guarded by ifdef
@ 2010-10-26 11:33 Roy Tam
  2010-10-26 12:12 ` [Qemu-devel] " Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: Roy Tam @ 2010-10-26 11:33 UTC (permalink / raw)
  To: qemu-devel, Gerd Hoffmann

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 <roytam@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;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-27  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-26 11:33 [Qemu-devel] [PATCH] QEMU_OPTION_spice is not guarded by ifdef Roy Tam
2010-10-26 12:12 ` [Qemu-devel] " Gerd Hoffmann
2010-10-26 13:33   ` Roy Tam
2010-10-27  9:06     ` Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).