diff options
author | Alon Levy <alevy@redhat.com> | 2012-10-02 11:39:14 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-10-08 12:15:17 +0200 |
commit | d96aafca057845a4d58cd7b36771f2c97c78cd56 (patch) | |
tree | 0857a47e8a7b0261880c63d5c9898529adbf4cb1 | |
parent | e25a0651f4be22099122b5e14c77c354be0aa88b (diff) |
hw/qxl: fix condition for exiting guest_bug
Reported and suggested by Paolo Bonzini, thanks.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/qxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |