* [Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit
@ 2009-01-22 2:51 Liu Yu
0 siblings, 0 replies; only message in thread
From: Liu Yu @ 2009-01-22 2:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Liu Yu
ppcemb KVM mode hasn't support graphic yet, so doesn't need sdl.
Thanks to Ina's <Ian.Jackson@eu.citrix.com> suggestion.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
vl.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 045b09f..4c512a9 100644
--- a/vl.c
+++ b/vl.c
@@ -5589,12 +5589,13 @@ int main(int argc, char **argv, char **envp)
if (vnc_display_open(ds, vnc_display) < 0)
exit(1);
}
- if (sdl || !vnc_display)
+ if (sdl || !vnc_display) {
#if defined(CONFIG_SDL)
sdl_display_init(ds, full_screen, no_frame);
#elif defined(CONFIG_COCOA)
cocoa_display_init(ds, full_screen);
#endif
+ }
}
}
dpy_resize(ds);
--
1.5.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-22 3:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 2:51 [Qemu-devel] [PATCH] Fix compile error when none of the defines gets hit Liu Yu
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).