diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-27 05:34:40 +0000 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2012-05-03 07:04:48 +0200 |
commit | 40f08e87f613273f9dcc8df7d6a0f574b7d28d05 (patch) | |
tree | 1c69d0f004c24f0e364d60365b7843e49a587b3f /user-exec.c | |
parent | f156f2385ff72e05e35edea6bea270033bf2756a (diff) | |
download | qemu-40f08e87f613273f9dcc8df7d6a0f574b7d28d05.zip qemu-40f08e87f613273f9dcc8df7d6a0f574b7d28d05.tar.gz qemu-40f08e87f613273f9dcc8df7d6a0f574b7d28d05.tar.bz2 |
qemu-timer: Fix limits for w32 mmtimer
timeSetEvent only accepts delays in the range which is returned by
timeGetDevCaps.
The lower limit is typically 1 (= 1 ms), so the constant value of 1
in the old code usually worked.
The upper limit can be as low as 10000 ms, so the latest changes in
QEMU's timer handling which introduced timeout values above that limit
could result in failures of timeSetEvent when the timer was re-armed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'user-exec.c')
0 files changed, 0 insertions, 0 deletions