aboutsummaryrefslogtreecommitdiff
path: root/hw/qxl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-06-11 10:42:53 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-06-22 10:49:55 +0200
commit9e56edcf8dd1d4bc7ba2b1efb3641f36c0fad8ba (patch)
tree3b7a66efbae10c35248a9cead7925688f4c2851c /hw/qxl.c
parentf1dacf1cedbf0f46c13139f3961ef8a976dc71e3 (diff)
vga: raise default vgamem size
Old size: 8 MB (traditional upstream qemu value). New size: 16 MB (traditional qemu-kvm value). Also adds compat properties so old machine types keep the old default values. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/qxl.c')
-rw-r--r--hw/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/qxl.c b/hw/qxl.c
index 62eed05e27..c2dd3b471b 100644
--- a/hw/qxl.c
+++ b/hw/qxl.c
@@ -2067,7 +2067,7 @@ static Property qxl_properties[] = {
DEFINE_PROP_UINT32("ram_size_mb", PCIQXLDevice, ram_size_mb, -1),
DEFINE_PROP_UINT32("vram_size_mb", PCIQXLDevice, vram32_size_mb, -1),
DEFINE_PROP_UINT32("vram64_size_mb", PCIQXLDevice, vram_size_mb, -1),
- DEFINE_PROP_UINT32("vgamem_mb", PCIQXLDevice, vgamem_size_mb, 8),
+ DEFINE_PROP_UINT32("vgamem_mb", PCIQXLDevice, vgamem_size_mb, 16),
DEFINE_PROP_END_OF_LIST(),
};