aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-03 12:49:50 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-03 12:49:50 +0000
commitee22c2f7dbcc59d9b0c0c9e08fafc9c4759b37fc (patch)
tree18b2141958e7f3a974b645da8d62276e434f8bcc /vl.c
parentbe3edd95908863ae39936d1b0608f0727256a3c3 (diff)
-localtime option
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@871 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 6faf19f0e0..445066fa06 100644
--- a/vl.c
+++ b/vl.c
@@ -129,6 +129,7 @@ int vm_running;
int audio_enabled = 0;
int pci_enabled = 0;
int prep_enabled = 0;
+int rtc_utc = 1;
/***********************************************************/
/* x86 ISA bus support */
@@ -2015,6 +2016,7 @@ enum {
QEMU_OPTION_no_code_copy,
QEMU_OPTION_pci,
QEMU_OPTION_prep,
+ QEMU_OPTION_localtime,
};
typedef struct QEMUOption {
@@ -2065,6 +2067,7 @@ const QEMUOption qemu_options[] = {
#ifdef TARGET_PPC
{ "prep", 0, QEMU_OPTION_prep },
#endif
+ { "localtime", 0, QEMU_OPTION_localtime },
{ NULL },
};
@@ -2341,6 +2344,9 @@ int main(int argc, char **argv)
case QEMU_OPTION_prep:
prep_enabled = 1;
break;
+ case QEMU_OPTION_localtime:
+ rtc_utc = 0;
+ break;
}
}
}