qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [RFC: 0/2] patch for QEMU HPET periodic timer emula


From: Gleb Natapov
Subject: Re: [Qemu-devel] Re: [RFC: 0/2] patch for QEMU HPET periodic timer emulation to alleviate time drift
Date: Mon, 7 Feb 2011 15:54:00 +0200

On Mon, Feb 07, 2011 at 03:51:27PM +0200, Avi Kivity wrote:
> On 02/07/2011 03:48 PM, Gleb Natapov wrote:
> >>
> >>  That's quite pointless, since those interrupts will be coalesced by
> >>  the guest.
> >>
> >Yes, of course, and this is what I remember happening. At this point
> >interrupt de-coalescing kicks in.
> 
> Maybe a more useful API would be to supply the callback with the
> number of missed wakeups since the last callback.  The callback
> could then change the wakeup frequency to compensate, or do other
> clever things.  If it needs the old behaviour, it can just execute
> its code in a loop.
> 
Mat be. Or may be we can ask for new behaviour during timer creation.
I was just surprised about the claim that we lost wakeups.

--
                        Gleb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]