]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commit
vga.c: Call dpy_update when stealing vram
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 24 Oct 2008 18:09:49 +0000 (19:09 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 24 Oct 2008 18:09:49 +0000 (19:09 +0100)
commitffa53894c6e2f61539f910f6fe2c465a6194f266
tree4e4cd871a83742e639738e94a6cfd14298dd3897
parent9b39b0a2379f5fd94910a8357f98d35604e16b96
vga.c: Call dpy_update when stealing vram

When we steal the vram, we copy the old data into it.  It may be the
case that the display output is already running - eg a VNC client
already connected.  In this case it is necessary to call dpy_update to
ensure that the data is sent to the client.

Without this change the initial screen clearing (done by the BIOS
before vram is stole) may be missed if the vnc client is fast at VM
startup, resulting in a white vnc screen with bits of black-backed
text painted over (which can be rectified by asking for a screen
refresh).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
hw/vga.c