From 634fce96eba8f332929025dd173a2f14e14a8f90 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 15 Jul 2006 17:40:09 +0000 Subject: Defer timer initialization until after commandline processing. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2057 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'vl.c') 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 -- cgit v1.2.3