summaryrefslogtreecommitdiff
path: root/hw/vga-pci.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/vga-pci.c
parentf1dacf1cedbf0f46c13139f3961ef8a976dc71e3 (diff)
downloadqemu-9e56edcf8dd1d4bc7ba2b1efb3641f36c0fad8ba.tar.gz
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/vga-pci.c')
-rw-r--r--hw/vga-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 0848126555..37dc019a61 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -76,7 +76,7 @@ DeviceState *pci_vga_init(PCIBus *bus)
}
static Property vga_pci_properties[] = {
- DEFINE_PROP_UINT32("vgamem_mb", PCIVGAState, vga.vram_size_mb, 8),
+ DEFINE_PROP_UINT32("vgamem_mb", PCIVGAState, vga.vram_size_mb, 16),
DEFINE_PROP_END_OF_LIST(),
};