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

Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock synchronization



On 07/05/2010 04:03 PM, Joanna Rutkowska wrote:
> I guess all these other clocks have nothing to do with RTC/wallclock,
> right? They are effectively just like any other system timers (they are
> system timers), and they are updated by the timer interrupt and they
> don't need RTC to be happy? So, I would say they are fine, just like all
> the other timers, as otherwise I would expect DomUs to explode/hang
> after resume.
>   

CLOCK_MONOTONIC is directly derived from the Xen system time, so it will
presumably pause while the machine is suspended.  CLOCK_REALTIME is just
the Xen system time with an offset added to make the normal Unix TOD; if
the offset isn't updated after resume, then it will also not advance
over the suspend.

    J

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.