]> Git Repo - qemu.git/commitdiff
hw/qxl: fix condition for exiting guest_bug
authorAlon Levy <[email protected]>
Tue, 2 Oct 2012 09:39:14 +0000 (11:39 +0200)
committerGerd Hoffmann <[email protected]>
Mon, 8 Oct 2012 10:15:17 +0000 (12:15 +0200)
Reported and suggested by Paolo Bonzini, thanks.

Signed-off-by: Alon Levy <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/qxl.c

index e99ed55b5443ec7073b8269b500a47bb153b9168..772b6c00d1435c60ed6a5cb7e5b3d3867a4e8986 100644 (file)
--- 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;
     }
 
This page took 0.030045 seconds and 4 git commands to generate.