diff options
author | Alon Levy <alevy@redhat.com> | 2012-03-29 22:24:38 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-18 12:21:53 +0200 |
commit | 79ce3567017e32ac96f7de7a8b04ed75ee710f89 (patch) | |
tree | cc23e26f839d9d7247aab97967860b0cde630c99 | |
parent | a9257af0b9735dbf7e8a52b4bf8d6c80dd4fc446 (diff) | |
download | qemu-79ce3567017e32ac96f7de7a8b04ed75ee710f89.zip qemu-79ce3567017e32ac96f7de7a8b04ed75ee710f89.tar.gz qemu-79ce3567017e32ac96f7de7a8b04ed75ee710f89.tar.bz2 |
qxl: set default values of vram*_size_mb to -1
The addition of those values caused a regression where not specifying
any value for the vram bar size would result in a 4096 _byte_ surface
area. This is ok for the windows driver but causes the X driver to be
unusable. Also, it's a regression. This patch returns the default
behavior of having a 64 megabyte vram BAR.
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/qxl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1959,8 +1959,8 @@ static Property qxl_properties[] = { DEFINE_PROP_UINT32("guestdebug", PCIQXLDevice, guestdebug, 0), DEFINE_PROP_UINT32("cmdlog", PCIQXLDevice, cmdlog, 0), DEFINE_PROP_UINT32("ram_size_mb", PCIQXLDevice, ram_size_mb, -1), - DEFINE_PROP_UINT32("vram_size_mb", PCIQXLDevice, vram32_size_mb, 0), - DEFINE_PROP_UINT32("vram64_size_mb", PCIQXLDevice, vram_size_mb, 0), + DEFINE_PROP_UINT32("vram_size_mb", PCIQXLDevice, vram32_size_mb, -1), + DEFINE_PROP_UINT32("vram64_size_mb", PCIQXLDevice, vram_size_mb, -1), DEFINE_PROP_END_OF_LIST(), }; |