[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] qemu-timer: Call clock reset notifiers on f
From: |
Paul Donohue |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] qemu-timer: Call clock reset notifiers on forward jumps |
Date: |
Thu, 18 Jun 2015 08:58:19 -0400 |
On Wed, Jun 17, 2015 at 04:00:06PM +0200, Paolo Bonzini wrote:
> On 12/06/2015 16:08, Paul Donohue wrote:
> > +static inline int64_t get_max_clock_jump(void)
> > +{
> > + // This should be small enough to prevent excessive interrupts from
> > being
> > + // generated by the RTC on clock jumps, but large enough to avoid
> > frequent
> > + // unnecessary resets in idle VMs.
> This is not how comments are layed out in QEMU...
Oops. Sorry, I'm not sure how I missed that. Force of habit from
other projects, I guess...
> > + return 60 * get_ticks_per_sec();
> > +}
> > +
> > /*
> > * * Low level clock functions
> > * */
> ... and it also looks like your editor has mangled this patch.
Ugh, yes. I do remember noticing that, and I thought I fixed it, but
apparently not.
I will correct and send an updated patch.