qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 0/2] Fix the monitor 'screendump' command


From: Avi Kivity
Subject: [Qemu-devel] Re: [PATCH 0/2] Fix the monitor 'screendump' command
Date: Thu, 10 Jul 2008 16:20:22 +0300
User-agent: Thunderbird 2.0.0.14 (X11/20080501)

Avi Kivity wrote:
The screendump command was recently broken in qemu-svn.  Since many
test suites depend on the command, it's important to get it fixed.

The following two patches do just that.

Another patch is needed (attached).


--
error compiling committee.c: too many arguments to function

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) {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]