qxl: reset current_async on qxl_soft_reset

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
master
Alon Levy 2012-06-11 09:24:01 +03:00 committed by Gerd Hoffmann
parent 087e6a42ed
commit a5f68c22e7
1 changed files with 1 additions and 0 deletions

View File

@ -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);