This is a hack to get screen_dump to work, we should start using a global
screen_dump method.
Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4903
c046a42c-6fe2-441c-8c8c-
71466251a162
void qemu_console_resize(QEMUConsole *console, int width, int height)
{
- if (console->g_width != width || console->g_height != height) {
+ if (console->g_width != width || console->g_height != height
+ || !console->ds->data) {
console->g_width = width;
console->g_height = height;
if (active_console == console) {