mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Always process real timers regardless of singlestep mode (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4462 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
cf7c2ca5ff
commit
21b20814ed
2 changed files with 2 additions and 3 deletions
3
vl.c
3
vl.c
|
@ -7032,7 +7032,7 @@ void main_loop_wait(int timeout)
|
|||
qemu_aio_poll();
|
||||
|
||||
if (vm_running) {
|
||||
if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER))
|
||||
if (likely(!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)))
|
||||
qemu_run_timers(&active_timers[QEMU_TIMER_VIRTUAL],
|
||||
qemu_get_clock(vm_clock));
|
||||
/* run dma transfers, if any */
|
||||
|
@ -7040,7 +7040,6 @@ void main_loop_wait(int timeout)
|
|||
}
|
||||
|
||||
/* real time timers */
|
||||
if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER))
|
||||
qemu_run_timers(&active_timers[QEMU_TIMER_REALTIME],
|
||||
qemu_get_clock(rt_clock));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue