diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-10-28 19:19:58 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-05-20 14:28:52 -0300 |
commit | 8c9a2b71de67742b40870da22abeccab57c81924 (patch) | |
tree | dc63ba0aafbaf3ad518c916b0f05a89d4417958c /include/sysemu/sysemu.h | |
parent | 4aeae8768a18fd5d32714c06b05c1735080b542d (diff) | |
download | qemu-8c9a2b71de67742b40870da22abeccab57c81924.tar.gz qemu-8c9a2b71de67742b40870da22abeccab57c81924.tar.bz2 qemu-8c9a2b71de67742b40870da22abeccab57c81924.zip |
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>
Diffstat (limited to 'include/sysemu/sysemu.h')
-rw-r--r-- | include/sysemu/sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 38fb3cad35..2033f8c067 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -146,6 +146,7 @@ extern int autostart; typedef enum { VGA_NONE, VGA_STD, VGA_CIRRUS, VGA_VMWARE, VGA_XENFB, VGA_QXL, VGA_TCX, VGA_CG3, VGA_DEVICE, VGA_VIRTIO, + VGA_TYPE_MAX, } VGAInterfaceType; extern int vga_interface_type; |