提交 62ea5b0b 编写于 作者: P pbrook

Leave running timer alone if not reloading.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2923 c046a42c-6fe2-441c-8c8c-71466251a162
上级 caf8fe8c
......@@ -149,7 +149,7 @@ void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
s->limit = limit;
if (reload)
s->delta = limit;
if (s->enabled) {
if (s->enabled && reload) {
s->next_event = qemu_get_clock(vm_clock);
ptimer_reload(s);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册