Commit 634fce96eba8f332929025dd173a2f14e14a8f90

Authored by pbrook
1 parent 13224a87

Defer timer initialization until after commandline processing.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2057 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 3 additions and 2 deletions
... ... @@ -5635,8 +5635,6 @@ int main(int argc, char **argv)
5635 5635 }
5636 5636 }
5637 5637 #endif
5638   - init_timers();
5639   - init_timer_alarm();
5640 5638  
5641 5639 register_machines();
5642 5640 machine = first_machine;
... ... @@ -6046,6 +6044,9 @@ int main(int argc, char **argv)
6046 6044  
6047 6045 setvbuf(stdout, NULL, _IOLBF, 0);
6048 6046  
  6047 + init_timers();
  6048 + init_timer_alarm();
  6049 +
6049 6050 #ifdef _WIN32
6050 6051 socket_init();
6051 6052 #endif
... ...