diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-09-25 13:56:40 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-10-08 12:15:17 +0200 |
commit | ffe01e599f106bedf13ba0e0f6956735b1942a0c (patch) | |
tree | 3a698ef2d1cb0e562ea5479a4e1abb60ee4efca6 /hw/qxl.c | |
parent | 36a03e0ba5202cf49749b2128bb62d41983681d6 (diff) |
qxl: fix range check for rev3 io commands.
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>
Diffstat (limited to 'hw/qxl.c')
-rw-r--r-- | hw/qxl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |