qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] run vnc without sdl
@ 2009-05-21 18:21 Glauber Costa
  2009-05-21 21:58 ` [Qemu-devel] " Anthony Liguori
  0 siblings, 1 reply; 4+ messages in thread
From: Glauber Costa @ 2009-05-21 18:21 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori

commit f92f8afebe038a4eae9ad90a140c9529f94919a6
"Eliminate --disable-gfx-check and make VNC default when SDL not available"
broke usage of vnc. Passing -vnc <something> now fails because it cannot initialize
SDL.

Signed-off-by: Glauber Costa <glommer@redhat.com>
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index e3cba75..74ad688 100644
--- a/vl.c
+++ b/vl.c
@@ -5977,7 +5977,7 @@ int main(int argc, char **argv, char **envp)
         } else
 #endif
 #if defined(CONFIG_SDL) || defined(CONFIG_COCOA)
-        if (sdl) {
+        if (sdl && !vnc_display) {
 #if defined(CONFIG_SDL)
             sdl_display_init(ds, full_screen, no_frame);
 #elif defined(CONFIG_COCOA)
-- 
1.5.6.6

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

end of thread, other threads:[~2009-05-24 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-21 18:21 [Qemu-devel] [PATCH] run vnc without sdl Glauber Costa
2009-05-21 21:58 ` [Qemu-devel] " Anthony Liguori
2009-05-21 22:19   ` Glauber Costa
2009-05-24 11:03   ` Avi Kivity

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).