projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879049a
)
vl.c: default to std if cirrus is not available
author
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 9 Sep 2012 23:01:44 +0000
(
01:01
+0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 6 Oct 2012 16:48:38 +0000
(18:48 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 17a33a096816e9e51a5b852b778c408db1ec2738..02dade19fc57040ff02cbd5cd598950fd03e0259 100644
(file)
--- a/
vl.c
+++ b/
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);