summaryrefslogtreecommitdiffstats
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorAnthony Liguori2013-09-20 15:08:18 +0200
committerAnthony Liguori2013-09-20 15:08:18 +0200
commit2571f8f5fbaea5dc3bdcd84737f109b459576e90 (patch)
tree3691da9f2f6aa712a0a224aa466ce6d0a2e0a8ad /hw/display/qxl.h
parentMerge remote-tracking branch 'kraxel/usb.90' into staging (diff)
parentqxl: compile only once (diff)
downloadqemu-2571f8f5fbaea5dc3bdcd84737f109b459576e90.tar.gz
qemu-2571f8f5fbaea5dc3bdcd84737f109b459576e90.tar.xz
qemu-2571f8f5fbaea5dc3bdcd84737f109b459576e90.zip
Merge remote-tracking branch 'spice/spice.v74' into staging
# By Gerd Hoffmann # Via Gerd Hoffmann * spice/spice.v74: qxl: compile only once qxl: simplify page dirtying qxl: simplify qxl_rom_size qxl: define qxl operating on 4k pages Message-id: 1379583534-7831-1-git-send-email-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;