aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-06-08 12:15:11 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-06-08 12:15:11 -0500
commitac779fe2334ebea5d4a365b053d786f7748a1db5 (patch)
tree5459fe587195dcb74b3b2ca19dc2d4a39a9fb31e /hw
parent13748cf499fbd93468e7103c0866e073a666f270 (diff)
parent212496c98219df17913f3157a7bf85575b32384f (diff)
Merge remote-tracking branch 'spice/spice.v37' into staging
Conflicts: vl.c
Diffstat (limited to 'hw')
-rw-r--r--hw/qxl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/qxl.c b/hw/qxl.c
index 2bb36c660f..1906e84fab 100644
--- 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: