qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] run vnc without sdl


From: Glauber Costa
Subject: [Qemu-devel] [PATCH] run vnc without sdl
Date: Thu, 21 May 2009 14:21:19 -0400

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





reply via email to

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