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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] S3 sleep in dom0 breaks dom0<->domU wallclock synchronization
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Jul 2010 17:18:22 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Rafal Wojtczuk <rafal@xxxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 01 Jul 2010 08:20:04 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type; s=smtpout; bh=iyjCrcemG6RnkSNP7aWt9KDIBFI=; b=iyfIq4fwNXNW0G+LKyUfpEiNAKPvhp6dMwgI1XrFzZXJAlwykP1UCACIIrpZoHKAU7ovlEKK5jx3s4+MD31C7ybXM/ODZv0tEzy91ProQxwPqJL2mkBu55uilW9sqfUfAb49GFYSN7IN5XuoVBpYCMlqwmx7f001BaXQb69Z1rQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C85269C8.192C4%keir.fraser@xxxxxxxxxxxxx>
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>
References: <C85269C8.192C4%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5
On 07/01/10 16:50, Keir Fraser wrote:
> On 01/07/2010 04:04, "Rafal Wojtczuk" <rafal@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
>> Hello,
>> xen-3.4.3 x86_64, dom0 2.6.34-9.xenlinux as dom0,
>> 2.6.32.14-1.2.105.pvops0 in PV domU. /proc/sys/xen/independent_wallclock is
>> 0.
>> After resume from S3 sleep in dom0, the wall clock in domU is
>> desynchronized from dom0's one (the delta is the length of S3 sleep). It
>> does not seem that adj_timex is in progress (the delta is constant in time).
>>
>> Is it a known issue ? If so, could someone point me to a solution ?
> 
> I think that pv_ops domU kernels pick up Xen's wallclock at boot time, but
> won't listen for updates thereafter. So if you ran a non-pv_ops domU, you'd
> probably find that its wallclock would be correctly updated after S3. Cc'ing
> Jeremy as he'll be able to confirm this. I think his answer will be that you
> should run ntp in every guest, but I'm not sure how that will react to
> unexpected warps in time.
> 
Actually we're running a pvops kernel in DomUs (in fact a fairly recent
pvops0, as we had some bad experience with regular Fedora kernels in DomU).

Running an NTP in every VM is not a good solution. Some VMs might be
forbidden any access to the network (e.g. my "vault" VM, that I use for
storing passwords, and other very sensitive stuff, doesn't have any
networking), while some other might be allowed only very limited network
traffic, e.g. only HTTPS to specific, white-listed servers (e.g.
"banking" VM).

joanna.

Attachment: signature.asc
Description: OpenPGP digital signature

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