projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36a03e0
)
qxl: fix range check for rev3 io commands.
author
Gerd Hoffmann
<kraxel@redhat.com>
Tue, 25 Sep 2012 11:56:40 +0000
(13:56 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 8 Oct 2012 10:15:17 +0000
(12:15 +0200)
Enables QXL_IO_FLUSH_SURFACES_ASYNC and QXL_IO_FLUSH_RELEASE
which are part of the qxl rev3 feature set.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c
patch
|
blob
|
history
diff --git
a/hw/qxl.c
b/hw/qxl.c
index 3c82c2a96f484e830e602be966a862238e1d95b5..eb7707c84c4346925d303834b6ebdea5fef61caa 100644
(file)
--- a/
hw/qxl.c
+++ b/
hw/qxl.c
@@
-1466,7
+1466,7
@@
static void ioport_write(void *opaque, target_phys_addr_t addr,
}
if (d->revision <= QXL_REVISION_STABLE_V10 &&
- io_port >
= QXL_IO_FLUSH_SURFACES_ASYNC
) {
+ io_port >
QXL_IO_FLUSH_RELEASE
) {
qxl_set_guest_bug(d, "unsupported io %d for revision %d\n",
io_port, d->revision);
return;