aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-05 13:46:47 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-05 13:46:47 +0000
commit1f04275ec1d2db4baab3fe638ccbaa5862cdc0df (patch)
treeb0f711e7a4d3426884948e9de2f4d6bde7e64dff /vl.c
parent4e3e9d0b4d31cc7966147543634c3476aec52d21 (diff)
-cirrusvga option
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@897 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/vl.c b/vl.c
index b424ed11ef..cdebcc2035 100644
--- a/vl.c
+++ b/vl.c
@@ -130,6 +130,7 @@ int audio_enabled = 0;
int pci_enabled = 0;
int prep_enabled = 0;
int rtc_utc = 1;
+int cirrus_vga_enabled = 0;
/***********************************************************/
/* x86 ISA bus support */
@@ -2053,6 +2054,7 @@ enum {
QEMU_OPTION_pci,
QEMU_OPTION_prep,
QEMU_OPTION_localtime,
+ QEMU_OPTION_cirrusvga,
};
typedef struct QEMUOption {
@@ -2097,13 +2099,14 @@ const QEMUOption qemu_options[] = {
{ "hdachs", HAS_ARG, QEMU_OPTION_hdachs },
{ "L", HAS_ARG, QEMU_OPTION_L },
{ "no-code-copy", 0, QEMU_OPTION_no_code_copy },
-
- /* temporary options */
- { "pci", 0, QEMU_OPTION_pci },
#ifdef TARGET_PPC
{ "prep", 0, QEMU_OPTION_prep },
#endif
{ "localtime", 0, QEMU_OPTION_localtime },
+
+ /* temporary options */
+ { "pci", 0, QEMU_OPTION_pci },
+ { "cirrusvga", 0, QEMU_OPTION_cirrusvga },
{ NULL },
};
@@ -2383,6 +2386,9 @@ int main(int argc, char **argv)
case QEMU_OPTION_localtime:
rtc_utc = 0;
break;
+ case QEMU_OPTION_cirrusvga:
+ cirrus_vga_enabled = 1;
+ break;
}
}
}