2008/7/17 Anthony Liguori <address@hidden>:
From: Avi Kivity <address@hidden>
Commit 737d2050 ("Implement resolution switching in common console code")
uses qemu_console_resize() instead of dpy_resize(). This means console->ds
is examined instead of the VGA private ds, and the resize does not take place,
leading to a segfault.
Fix by modifying the DisplayState directly rather than swapping the pointer.
The screen dumping is hacky but maybe it's a good idea to keep the
hacks local to hw/vga.c, with something like the following diff. I
think we need to fix the screen dumping globally (some graphic cards
will need fixing too).