]> git.proxmox.com Git - mirror_qemu.git/commit - hw/vga.c
fix screendump
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 1 Mar 2012 07:34:40 +0000 (08:34 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 24 Mar 2012 13:06:41 +0000 (13:06 +0000)
commit08c4ea294f38fa90c7e91d7402091ff8332bc65e
tree43533377d4a2f8b6302fae1761a356b5a08a1e20
parentbc09845431888a0a6a680c0feeca7c6a18f8ec43
fix screendump

Commit 45efb16124efef51de5157afc31984b5a47700f9 optimized a bit too
much.  We can skip the vga_invalidate_display() in case no console
switch happened because we don't need a full redraw then.  We can *not*
skip vga_hw_update() though, because the screen content will be stale
then in case nobody else calls vga_hw_update().

Trigger: vga textmode with vnc display and no client connected.

Reported-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Alon Levy <alevy@redhat.com>
Tested-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/blizzard.c
hw/omap_lcdc.c
hw/vga.c