summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorPaolo Bonzini2010-03-19 11:30:35 +0100
committerAurelien Jarno2010-03-27 14:05:07 +0100
commitca5a2a4b12bd44762a5106c9352eafd878bbd52f (patch)
treec4b9ed0f3cc33fc258df8d6e83d891cd7a4184df /linux-user
parentqemu-io: Fix return value handling of bdrv_open (diff)
downloadqemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.gz
qemu-ca5a2a4b12bd44762a5106c9352eafd878bbd52f.tar.xz
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 'linux-user')
0 files changed, 0 insertions, 0 deletions