summaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
Commit message (Collapse)AuthorAgeFilesLines
* fix race between timer firing vs. alarm_timer->pending = 0Paolo Bonzini2010-03-271-2/+2
| | | | | | | | | | 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>
* split out qemu-timer.cPaolo Bonzini2010-03-171-0/+1203
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
OpenPOWER on IntegriCloud