aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-15 17:40:09 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-15 17:40:09 +0000
commit634fce96eba8f332929025dd173a2f14e14a8f90 (patch)
tree88046650316ec04b2a15242c23a146671f5e07d5 /vl.c
parent13224a87fb27a5d029388aa61a1347aa89dd3788 (diff)
Defer timer initialization until after commandline processing.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2057 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 6787332ba7..042e12180f 100644
--- a/vl.c
+++ b/vl.c
@@ -5635,8 +5635,6 @@ int main(int argc, char **argv)
}
}
#endif
- init_timers();
- init_timer_alarm();
register_machines();
machine = first_machine;
@@ -6046,6 +6044,9 @@ int main(int argc, char **argv)
setvbuf(stdout, NULL, _IOLBF, 0);
+ init_timers();
+ init_timer_alarm();
+
#ifdef _WIN32
socket_init();
#endif