[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/1] hw/ptimer: Do not artificially limit tim
From: |
Edgar E. Iglesias |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/1] hw/ptimer: Do not artificially limit timers when using icount |
Date: |
Fri, 8 May 2015 17:35:11 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, May 04, 2015 at 11:27:36AM +0200, Paolo Bonzini wrote:
>
>
> On 04/05/2015 05:18, Edgar E. Iglesias wrote:
> > From: "Edgar E. Iglesias" <address@hidden>
> >
> > Signed-off-by: Edgar E. Iglesias <address@hidden>
> > ---
> > 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;
> > }
> >
> >
>
> Reviewed-by: Paolo Bonzini <address@hidden>
Thanks, I've applied this one.
Cheers,
Edgar