From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yp6xV-0002jV-3j for qemu-devel@nongnu.org; Sun, 03 May 2015 23:22:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yp6xR-0000AE-Nf for qemu-devel@nongnu.org; Sun, 03 May 2015 23:22:17 -0400 Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:32991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yp6xR-0000AA-JP for qemu-devel@nongnu.org; Sun, 03 May 2015 23:22:13 -0400 Received: by oica37 with SMTP id a37so103515830oic.0 for ; Sun, 03 May 2015 20:22:12 -0700 (PDT) From: "Edgar E. Iglesias" Date: Mon, 4 May 2015 13:18:49 +1000 Message-Id: <1430709529-4653-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH v1 1/1] hw/ptimer: Do not artificially limit timers when using icount List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, pbonzini@redhat.com From: "Edgar E. Iglesias" 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 2abad1f..8437bd6 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; } -- 1.9.1