提交 f8340b36 编写于 作者: E Edgar E. Iglesias

hw/ptimer: Do not artificially limit timers when using icount

Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
上级 83868635
......@@ -189,7 +189,7 @@ void ptimer_set_limit(ptimer_state *s, uint64_t limit, int reload)
* on the current generation of host machines.
*/
if (limit * s->period < 10000 && s->period) {
if (!use_icount && limit * s->period < 10000 && s->period) {
limit = 10000 / s->period;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册