]> xenbits.xensource.com Git - qemu-upstream-4.5-testing.git/commitdiff
qxl: reset current_async on qxl_soft_reset
authorAlon Levy <alevy@redhat.com>
Mon, 11 Jun 2012 06:24:01 +0000 (09:24 +0300)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jun 2012 08:46:12 +0000 (10:46 +0200)
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c

index b5e53ce65bf98dc88e49cefa99377ac6715ba4d3..4be946288fe845c85e53faca50c08da778585d00 100644 (file)
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -986,6 +986,7 @@ static void qxl_soft_reset(PCIQXLDevice *d)
     trace_qxl_soft_reset(d->id);
     qxl_check_state(d);
     qxl_clear_guest_bug(d);
+    d->current_async = QXL_UNDEFINED_IO;
 
     if (d->id == 0) {
         qxl_enter_vga_mode(d);