diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-20 13:01:02 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-21 08:47:48 -0500 |
commit | 500f5886d4a6893f7a85550b507601add98d73e6 (patch) | |
tree | 308194d45c392caffd3121af25cd9fd2f41d24e1 /console.h | |
parent | f93c375eaa018dfccf88ebfb614796c15479f353 (diff) | |
download | qemu-500f5886d4a6893f7a85550b507601add98d73e6.tar.gz qemu-500f5886d4a6893f7a85550b507601add98d73e6.tar.bz2 qemu-500f5886d4a6893f7a85550b507601add98d73e6.zip |
Eliminate --disable-gfx-check and make VNC default when SDL not available
--disable-gfx-check predates VNC server support. It made sense back then
because the only thing you could do without SDL was use -nographic mode or
similar tricks. Since this is a very advanced mode of operation, gfx-check
provided a good safety net for casual users.
A casual user is very likely to use VNC to interact with a guest. In fact, it's
often frustrating to install QEMU on a server and have to specify
disable-gfx-check when you only want to use VNC.
This patch eliminates disable-gfx-check and makes SDL behave like every other
optional dependency. If SDL is not available, instead of failing ungracefully
if no special options are specified, we default to -vnc localhost:0,to=99.
When we do default to VNC, we also print a message to tell the user that we've
done this include which port we're currently listening on.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -320,6 +320,7 @@ void vnc_display_close(DisplayState *ds); int vnc_display_open(DisplayState *ds, const char *display); int vnc_display_password(DisplayState *ds, const char *password); void do_info_vnc(Monitor *mon); +char *vnc_display_local_addr(DisplayState *ds); /* curses.c */ void curses_display_init(DisplayState *ds, int full_screen); |