2013-02-02 20:47:37 +00:00
|
|
|
From 35bc51bb66018c3b387c735070612cd81200a2f9 Mon Sep 17 00:00:00 2001
|
2013-01-21 15:09:24 +00:00
|
|
|
From: Alon Levy <alevy@redhat.com>
|
|
|
|
Date: Tue, 2 Oct 2012 11:39:14 +0200
|
2013-02-02 20:47:37 +00:00
|
|
|
Subject: [PATCH] hw/qxl: fix condition for exiting guest_bug
|
2013-01-21 15:09:24 +00:00
|
|
|
|
|
|
|
Reported and suggested by Paolo Bonzini, thanks.
|
|
|
|
|
|
|
|
Signed-off-by: Alon Levy <alevy@redhat.com>
|
|
|
|
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
|
|
---
|
|
|
|
hw/qxl.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/hw/qxl.c b/hw/qxl.c
|
|
|
|
index db6440e..445705e 100644
|
|
|
|
--- a/hw/qxl.c
|
|
|
|
+++ b/hw/qxl.c
|
|
|
|
@@ -1461,7 +1461,7 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
|
|
|
|
qxl_async_io async = QXL_SYNC;
|
|
|
|
uint32_t orig_io_port = io_port;
|
|
|
|
|
|
|
|
- if (d->guest_bug && !io_port == QXL_IO_RESET) {
|
|
|
|
+ if (d->guest_bug && io_port != QXL_IO_RESET) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|