diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-17 14:40:01 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-02-21 10:36:05 +0100 |
commit | 80105bbfb2aa3023e959b6ea682a3fc9515080a3 (patch) | |
tree | 3eb4f41f99e837f8c4482d6891bd6c0b2f429452 /hw/qxl.c | |
parent | faa982232197c66e72c936baa617cd18ee02bc94 (diff) |
qxl: drop vram bar minimum size
There is no reason to require a minimum size of 16 MB for the vram.
Lower the limit to 4096 (one page). Make it disapper completely would
break guests.
Diffstat (limited to 'hw/qxl.c')
-rw-r--r-- | hw/qxl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1592,8 +1592,8 @@ static int qxl_init_common(PCIQXLDevice *qxl) init_qxl_rom(qxl); init_qxl_ram(qxl); - if (qxl->vram_size < 16 * 1024 * 1024) { - qxl->vram_size = 16 * 1024 * 1024; + if (qxl->vram_size < 4096) { + qxl->vram_size = 4096; } if (qxl->revision == 1) { qxl->vram_size = 4096; |