* [Qemu-devel] [PATCH] hw/qxl: fix condition for exiting guest_bug
@ 2012-10-02 9:39 Alon Levy
0 siblings, 0 replies; only message in thread
From: Alon Levy @ 2012-10-02 9:39 UTC (permalink / raw)
To: qemu-devel, kraxel; +Cc: pbonzini
Reported and suggested by Paolo Bonzini, thanks.
Signed-off-by: Alon Levy <alevy@redhat.com>
---
hw/qxl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/qxl.c b/hw/qxl.c
index 33169f3..58c4643 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;
}
--
1.7.12.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-02 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 9:39 [Qemu-devel] [PATCH] hw/qxl: fix condition for exiting guest_bug Alon Levy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).