]> Git Repo - qemu.git/commitdiff
qxl: fix cmdlog for vga
authorAlon Levy <[email protected]>
Wed, 18 May 2011 14:34:36 +0000 (17:34 +0300)
committerGerd Hoffmann <[email protected]>
Mon, 6 Jun 2011 07:14:42 +0000 (09:14 +0200)
Signed-off-by: Alon Levy <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/qxl.c

index 2bb36c660ff5851105540b8fbc6047954271f355..1906e84fab99497b870ea09e828ed3f3a66e1d3c 100644 (file)
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -357,7 +357,9 @@ static int interface_get_command(QXLInstance *sin, struct QXLCommandExt *ext)
             ret = true;
         }
         qemu_mutex_unlock(&qxl->ssd.lock);
-        qxl_log_command(qxl, "vga", ext);
+        if (ret) {
+            qxl_log_command(qxl, "vga", ext);
+        }
         return ret;
     case QXL_MODE_COMPAT:
     case QXL_MODE_NATIVE:
This page took 0.029332 seconds and 4 git commands to generate.