diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-03-19 11:30:35 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 14:05:07 +0100 |
commit | ca5a2a4b12bd44762a5106c9352eafd878bbd52f (patch) | |
tree | c4b9ed0f3cc33fc258df8d6e83d891cd7a4184df /block.c | |
parent | 06b611c48edb1bf0301c3e7fe49dec2b9feaaf89 (diff) | |
download | qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.gz qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.bz2 qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.zip |
fix race between timer firing vs. alarm_timer->pending = 0
The period for Win32 timers is very short and always the same
independent of dynticks, so it's possible that the timer fires
before qemu_run_all_timers has reset alarm_timer->pending to zero.
Reset alarm_timer->pending before rearming.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'block.c')
0 files changed, 0 insertions, 0 deletions