aboutsummaryrefslogtreecommitdiff
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2020-02-06 08:43:58 +0100
committerGerd Hoffmann <kraxel@redhat.com>2020-02-13 08:31:40 +0100
commited71c09ffd6fbd01c2a487d47291ae57b08671ea (patch)
tree86dba70f959d7a1a18b97dd2990db5e01200a555 /hw/display/qxl.h
parente18e5501d8ac692d32657a3e1ef545b14e72b730 (diff)
downloadqemu-ed71c09ffd6fbd01c2a487d47291ae57b08671ea.zip
qemu-ed71c09ffd6fbd01c2a487d47291ae57b08671ea.tar.gz
qemu-ed71c09ffd6fbd01c2a487d47291ae57b08671ea.tar.bz2
qxl: introduce hardware revision 5
The only difference to hardware revision 4 is that the device doesn't switch to VGA mode in case someone happens to touch a VGA register, which should make things more robust in configurations with multiple vga devices. Swtiching back to VGA mode happens on reset, either full machine reset or qxl device reset (QXL_IO_RESET ioport command). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Message-id: 20200206074358.4274-1-kraxel@redhat.com
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index 80eb0d2..707631a 100644
--- a/hw/display/qxl.h
+++ b/hw/display/qxl.h
@@ -144,7 +144,7 @@ typedef struct PCIQXLDevice {
} \
} while (0)
-#define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12
+#define QXL_DEFAULT_REVISION (QXL_REVISION_STABLE_V12 + 1)
/* qxl.c */
void *qxl_phys2virt(PCIQXLDevice *qxl, QXLPHYSICAL phys, int group_id);