summaryrefslogtreecommitdiffstats
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann2013-09-11 13:14:25 +0200
committerGerd Hoffmann2013-09-18 11:13:29 +0200
commit9efc2d8d813b94fde0a2bad6c13850bef7636748 (patch)
tree7e7dc1908111f046af7b2cb21ddb96be42e56949 /hw/display/qxl.h
parentMerge remote-tracking branch 'kiszka/queues/slirp' into staging (diff)
downloadqemu-9efc2d8d813b94fde0a2bad6c13850bef7636748.tar.gz
qemu-9efc2d8d813b94fde0a2bad6c13850bef7636748.tar.xz
qemu-9efc2d8d813b94fde0a2bad6c13850bef7636748.zip
qxl: define qxl operating on 4k pages
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index 8e9b0c299e..84f0182383 100644
--- a/hw/display/qxl.h
+++ b/hw/display/qxl.h
@@ -27,6 +27,9 @@ enum qxl_mode {
#define QXL_NUM_DIRTY_RECTS 64
+#define QXL_PAGE_BITS 12
+#define QXL_PAGE_SIZE (1 << QXL_PAGE_BITS);
+
typedef struct PCIQXLDevice {
PCIDevice pci;
SimpleSpiceDisplay ssd;