[Top][All Lists]

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

[Qemu-devel] [PATCH] vl.c: fixed QEMU crash if no display was selected i

From: Marcel Apfelbaum
Subject: [Qemu-devel] [PATCH] vl.c: fixed QEMU crash if no display was selected in command line
Date: Wed, 4 Feb 2015 13:25:58 +0200

Commit 4db14629c3 (vnc: switch to QemuOpts, allow multiple servers)
converted vnc option to QemuOpts.
However, the default vnc display had ...,to=99,... between parameters
that is not covered by the QemuOpts.
Remove it because is not longer used and solves the crash.

Signed-off-by: Marcel Apfelbaum <address@hidden>
This issue is bugging me some time now. Please let me know if
I got it wrong.

 vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vl.c b/vl.c
index 983259b..c8f33d2 100644
--- a/vl.c
+++ b/vl.c
@@ -3970,7 +3970,7 @@ int main(int argc, char **argv, char **envp)
 #elif defined(CONFIG_SDL) || defined(CONFIG_COCOA)
         display_type = DT_SDL;
 #elif defined(CONFIG_VNC)
-        vnc_parse_func("localhost:0,to=99,id=default");
+        vnc_parse_func("localhost:0,id=default");
         show_vnc_port = 1;
         display_type = DT_NONE;

reply via email to

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