summaryrefslogtreecommitdiff
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-06-08 14:40:48 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-07-06 10:30:50 +0200
commitde1b9b85eff3dca42fe2cabe6e026cd2a2d5c769 (patch)
tree5ee1be10bace0f159618e2113ab1044b6de1f1e3 /hw/display/qxl.h
parent791b7d2340cfafcac9af7864343cf23504d57804 (diff)
downloadqemu-de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769.tar.gz
qxl: use uint64_t for vram size
This allows for the 64bit vram bar to become larger than 2G (try -device qxl-vga,vram64_size_mb=8192). https://bugzilla.redhat.com/show_bug.cgi?id=1340439 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 1465389648-5179-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index 2ddf065e1f..39ff00407d 100644
--- a/hw/display/qxl.h
+++ b/hw/display/qxl.h
@@ -104,9 +104,9 @@ typedef struct PCIQXLDevice {
#endif
/* vram pci bar */
- uint32_t vram_size;
+ uint64_t vram_size;
MemoryRegion vram_bar;
- uint32_t vram32_size;
+ uint64_t vram32_size;
MemoryRegion vram32_bar;
/* io bar */