WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock synchronization
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 5 Jul 2010 20:26:42 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 05 Jul 2010 12:27:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C322FF9.1050601@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcscdtXrT+SE+KTyQQ6gDB3ROpPPIQAASlhz
Thread-topic: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock synchronization
User-agent: Microsoft-Entourage/12.24.0.100205
On 05/07/2010 20:18, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:

> So the problem is that dom0 does the S3 suspend/resume, and presumably
> its wallclock time is updated properly via Linux's normal mechanisms.
> But the S3 suspend/resume is unnoticed by all the domUs, so they don't
> know that an enormous amount of time has passed in an instant?  Does
> that affect all the guest clocks, or just wallclock?

Um, just wallclock I think?

> How does Xen deal with the S3 suspend/resume?  Does the system clock
> just keep ticking as usual (so the whole suspended time appears to be
> sub-nanosecond), but the wallclock offset gets updated?

This.

 -- Keir

> Or does it try
> to workout how long the suspended time was and adjusts the system time
> accordingly?  That would allow guest timekeeping to compensate for the
> suspended time, assuming they can deal with large forward leaps.



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

<Prev in Thread] Current Thread [Next in Thread>