direct-io.hg

changeset 11589:fb2751668a4d

[HVM][VNC] Make sure that the vnc viewer gets the right resolution when it
connects.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
author Steven Smith <ssmith@xensource.com>
date Fri Sep 22 20:20:57 2006 +0100 (2006-09-22)
parents bdace8da6319
children 047669f57e5c
files tools/ioemu/vnc.c
line diff
     1.1 --- a/tools/ioemu/vnc.c	Fri Sep 22 17:59:02 2006 +0100
     1.2 +++ b/tools/ioemu/vnc.c	Fri Sep 22 20:20:57 2006 +0100
     1.3 @@ -1137,6 +1137,8 @@ static int protocol_client_init(VncState
     1.4      size_t l;
     1.5      char pad[3] = { 0, 0, 0 };
     1.6  
     1.7 +    vga_hw_update();
     1.8 +
     1.9      vs->width = vs->ds->width;
    1.10      vs->height = vs->ds->height;
    1.11      vnc_write_u16(vs, vs->ds->width);