/[qemu]
ViewVC logotype

Revision 7069


Jump to revision: Previous Next
Author: aliguori
Date: Fri Apr 10 18:36:38 2009 UTC (14 years, 7 months ago)
Changed paths: 1
Log Message:
Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity)

The vga screen dump function updates last_width and last_height,
but does not change the DisplaySurface that these variables describe.
A consequent vga_draw_graphic() will therefore fail to resize the
surface and crash.

Fix by invalidating the display state after a screen dump, forcing
vga_draw_graphic() to reallocate the DisplaySurface.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Changed paths:

Path Details
Directorybranches/stable_0_10/hw/vga.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5