mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
vl.c: default to std if cirrus is not available
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
879049a397
commit
3605ded557
1 changed files with 6 additions and 2 deletions
8
vl.c
8
vl.c
|
@ -3617,8 +3617,12 @@ int main(int argc, char **argv, char **envp)
|
|||
exit(1);
|
||||
|
||||
/* If no default VGA is requested, the default is "none". */
|
||||
if (default_vga && cirrus_vga_available()) {
|
||||
vga_model = "cirrus";
|
||||
if (default_vga) {
|
||||
if (cirrus_vga_available()) {
|
||||
vga_model = "cirrus";
|
||||
} else if (vga_available()) {
|
||||
vga_model = "std";
|
||||
}
|
||||
}
|
||||
select_vgahw(vga_model);
|
||||
|
||||
|
|
Loading…
Reference in a new issue