[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/6] kvm: qemu: force screen resize if a display buf
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [PATCH 2/6] kvm: qemu: force screen resize if a display buffer does not exist |
Date: |
Thu, 17 Jul 2008 16:19:36 -0500 |
From: Avi Kivity <address@hidden>
Signed-off-by: Avi Kivity <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/console.c b/console.c
index 061135f..055a3f1 100644
--- a/console.c
+++ b/console.c
@@ -1334,7 +1334,8 @@ CharDriverState *text_console_init(DisplayState *ds,
const char *p)
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) {
- Re: [Qemu-devel] [PATCH 6/6] kvm: qemu: fix vga screendump, (continued)
[Qemu-devel] [PATCH 5/6] kvm: qemu: improve scsi dma speed by increasing the dma buffer size, Anthony Liguori, 2008/07/17
[Qemu-devel] [PATCH 4/6] kvm: qemu: revert ""QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain.", Anthony Liguori, 2008/07/17
[Qemu-devel] [PATCH 2/6] kvm: qemu: force screen resize if a display buffer does not exist,
Anthony Liguori <=
[Qemu-devel] [PATCH 3/6] kvm: qemu: revert "fix power management timer overflow handling", Anthony Liguori, 2008/07/17
[Qemu-devel] [PATCH 0/6] Various fixes from KVM tree, Anthony Liguori, 2008/07/17