|
@@ -1110,6 +1110,7 @@ static void parse_display(const char *p)
|
|
*/
|
|
*/
|
|
if (*opts == '=') {
|
|
if (*opts == '=') {
|
|
vnc_parse(opts + 1);
|
|
vnc_parse(opts + 1);
|
|
|
|
+ display_remote++;
|
|
} else {
|
|
} else {
|
|
error_report("VNC requires a display argument vnc=<display>");
|
|
error_report("VNC requires a display argument vnc=<display>");
|
|
exit(1);
|
|
exit(1);
|
|
@@ -1359,6 +1360,7 @@ static void qemu_setup_display(void)
|
|
dpy.type = DISPLAY_TYPE_NONE;
|
|
dpy.type = DISPLAY_TYPE_NONE;
|
|
#if defined(CONFIG_VNC)
|
|
#if defined(CONFIG_VNC)
|
|
vnc_parse("localhost:0,to=99,id=default");
|
|
vnc_parse("localhost:0,to=99,id=default");
|
|
|
|
+ display_remote++;
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
}
|
|
}
|