From f8340b360b9bc29d48716ba8aca79df2b9544979 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Wed, 10 Sep 2014 18:33:58 +1000 Subject: [PATCH] hw/ptimer: Do not artificially limit timers when using icount Reviewed-by: Paolo Bonzini Signed-off-by: Edgar E. Iglesias --- hw/core/ptimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/ptimer.c b/hw/core/ptimer.c index 2abad1fa3d..8437bd6e8b 100644 --- a/hw/core/ptimer.c +++ b/hw/core/ptimer.c @@ -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; } -- 2.11.0