提交 a5c57d64 编写于 作者: P Paolo Bonzini

qemu-timer: do not refer to runstate_is_running()

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 946fb27c
......@@ -1059,6 +1059,7 @@ void pause_all_vcpus(void)
{
CPUState *penv = first_cpu;
qemu_clock_enable(vm_clock, false);
while (penv) {
penv->stop = 1;
qemu_cpu_kick(penv);
......
......@@ -504,10 +504,7 @@ void qemu_run_all_timers(void)
}
/* vm time timers */
if (runstate_is_running()) {
qemu_run_timers(vm_clock);
}
qemu_run_timers(vm_clock);
qemu_run_timers(rt_clock);
qemu_run_timers(host_clock);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册