Message ID | 1347390642-17434-6-git-send-email-aurelien@aurel32.net |
---|---|
State | New |
Headers | show |
diff --git a/vl.c b/vl.c index ba2fa9f..6ca27f5 100644 --- a/vl.c +++ b/vl.c @@ -3606,8 +3606,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);
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> --- vl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)