summary refs log tree commit diff stats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-05-12 15:10:38 +0800
committerGerd Hoffmann <kraxel@redhat.com>2014-07-11 10:17:01 +0200
commitf61d82c2dfe02a60642a76e8f0034a0244eef2bf (patch)
tree6f051dddfb508a3c07e827a6306e1458d658e14b /scripts/vmstate-static-checker.py
parent9e99c5fd7060267a0331d900e73fdb36047bfe0c (diff)
downloadfocaccia-qemu-f61d82c2dfe02a60642a76e8f0034a0244eef2bf.tar.gz
focaccia-qemu-f61d82c2dfe02a60642a76e8f0034a0244eef2bf.zip
cirrus_vga: adding sanity check for vram size
when configure a invalid vram size for cirrus card, such as less
2 MB, which will crash qemu. Follow the real hardware, the cirrus
card has 4 MB video memory. Also for backward compatibility, accept
8 MB and 16 MB vram size.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions