From 10d913442d089542691524bb9c279d4e72c47b50 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Dec 2008 18:16:18 +0000 Subject: [PATCH] reintroduce -std-vga option For compatibility with xend (which we will change later to remove this) we support -std-vga again. This corresponds to the stdvga=1 xmconfig option. Signed-off-by: Ian Jackson --- vl.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vl.c b/vl.c index a699361c8..5cb54cfa4 100644 --- a/vl.c +++ b/vl.c @@ -8372,6 +8372,8 @@ static void help(int exitcode) "-no-kqemu disable KQEMU kernel module usage\n" #endif #ifdef TARGET_I386 + "-std-vga simulate a standard VGA card with VESA Bochs Extensions\n" + " (default is CL-GD5446 PCI VGA)\n" "-no-acpi disable ACPI\n" #endif #ifdef CONFIG_CURSES @@ -8465,6 +8467,7 @@ enum { QEMU_OPTION_localtime, QEMU_OPTION_g, QEMU_OPTION_vga, + QEMU_OPTION_std_vga, QEMU_OPTION_echr, QEMU_OPTION_monitor, QEMU_OPTION_domainname, @@ -8576,6 +8579,7 @@ static const QEMUOption qemu_options[] = { { "g", 1, QEMU_OPTION_g }, #endif { "localtime", 0, QEMU_OPTION_localtime }, + { "std-vga", 0, QEMU_OPTION_std_vga }, { "vga", HAS_ARG, QEMU_OPTION_vga }, { "echr", HAS_ARG, QEMU_OPTION_echr }, { "monitor", HAS_ARG, QEMU_OPTION_monitor }, @@ -9351,6 +9355,10 @@ int main(int argc, char **argv) case QEMU_OPTION_localtime: rtc_utc = 0; break; + case QEMU_OPTION_std_vga: + cirrus_vga_enabled = 0; + vmsvga_enabled = 0; + break; case QEMU_OPTION_vga: select_vgahw (optarg); break; -- 2.39.5