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.
This commit is contained in:
parent
faa9822321
commit
80105bbfb2
4
hw/qxl.c
4
hw/qxl.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user