diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-26 21:56:26 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-26 21:56:26 +0000 |
commit | d79284e07aae8d702c1d3f9d83590480fa06f5d7 (patch) | |
tree | 3ca2aa09a9221944a7ea44dd84f658dbc4d641c1 /vl.c | |
parent | 9191d4d19f5d535542163f31c82987194e014425 (diff) | |
download | hqemu-d79284e07aae8d702c1d3f9d83590480fa06f5d7.zip hqemu-d79284e07aae8d702c1d3f9d83590480fa06f5d7.tar.gz |
i386 linux 2.6 timer fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1243 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -922,7 +922,7 @@ static void init_timers(void) sigaction(SIGALRM, &act, NULL); itv.it_interval.tv_sec = 0; - itv.it_interval.tv_usec = 1000; + itv.it_interval.tv_usec = 999; /* for i386 kernel 2.6 to get 1 ms */ itv.it_value.tv_sec = 0; itv.it_value.tv_usec = 10 * 1000; setitimer(ITIMER_REAL, &itv, NULL); |