]> git.proxmox.com Git - mirror_qemu.git/commit - vl.c
vl: Table-based select_vgahw()
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 28 Oct 2015 21:19:58 +0000 (19:19 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 20 May 2016 17:28:52 +0000 (14:28 -0300)
commit8c9a2b71de67742b40870da22abeccab57c81924
treedc63ba0aafbaf3ad518c916b0f05a89d4417958c
parent4aeae8768a18fd5d32714c06b05c1735080b542d
vl: Table-based select_vgahw()

Instead of implementing separate check functions for each vga
interface type, add a table enumerating the possible VGA
interfaces.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/sysemu/sysemu.h
vl.c