diff options
author | Gerd Hoffmann | 2016-06-08 14:40:48 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2016-07-06 10:30:50 +0200 |
commit | de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769 (patch) | |
tree | 5ee1be10bace0f159618e2113ab1044b6de1f1e3 /hw/display/qxl.h | |
parent | Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (diff) | |
download | qemu-de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769.tar.gz qemu-de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769.tar.xz qemu-de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769.zip |
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.h | 4 |
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 */ |