Blame 0515-hw-qxl-fix-condition-for-exiting-guest_bug.patch
|
Hans de Goede |
64c339 |
From 73a691f6799e05afda0be01c1cd5e2f6914e8773 Mon Sep 17 00:00:00 2001
|
|
Hans de Goede |
64c339 |
From: Alon Levy <alevy@redhat.com>
|
|
Hans de Goede |
64c339 |
Date: Tue, 2 Oct 2012 11:39:14 +0200
|
|
Hans de Goede |
64c339 |
Subject: [PATCH 515/647] hw/qxl: fix condition for exiting guest_bug
|
|
Hans de Goede |
64c339 |
|
|
Hans de Goede |
64c339 |
Reported and suggested by Paolo Bonzini, thanks.
|
|
Hans de Goede |
64c339 |
|
|
Hans de Goede |
64c339 |
Signed-off-by: Alon Levy <alevy@redhat.com>
|
|
Hans de Goede |
64c339 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
|
Hans de Goede |
64c339 |
---
|
|
Hans de Goede |
64c339 |
hw/qxl.c | 2 +-
|
|
Hans de Goede |
64c339 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Hans de Goede |
64c339 |
|
|
Hans de Goede |
64c339 |
diff --git a/hw/qxl.c b/hw/qxl.c
|
|
Hans de Goede |
64c339 |
index a2dd020..e3a164a 100644
|
|
Hans de Goede |
64c339 |
--- a/hw/qxl.c
|
|
Hans de Goede |
64c339 |
+++ b/hw/qxl.c
|
|
Hans de Goede |
64c339 |
@@ -1461,7 +1461,7 @@ static void ioport_write(void *opaque, target_phys_addr_t addr,
|
|
Hans de Goede |
64c339 |
qxl_async_io async = QXL_SYNC;
|
|
Hans de Goede |
64c339 |
uint32_t orig_io_port = io_port;
|
|
Hans de Goede |
64c339 |
|
|
Hans de Goede |
64c339 |
- if (d->guest_bug && !io_port == QXL_IO_RESET) {
|
|
Hans de Goede |
64c339 |
+ if (d->guest_bug && io_port != QXL_IO_RESET) {
|
|
Hans de Goede |
64c339 |
return;
|
|
Hans de Goede |
64c339 |
}
|
|
Hans de Goede |
64c339 |
|
|
Hans de Goede |
64c339 |
--
|
|
Hans de Goede |
64c339 |
1.7.12.1
|
|
Hans de Goede |
64c339 |
|