From: Joanna Rutkowska <joanna@invisiblethingslab.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Rafal Wojtczuk <rafal@invisiblethingslab.com>
Subject: Re: S3 sleep in dom0 breaks dom0<->domU wallclock synchronization
Date: Thu, 01 Jul 2010 17:18:22 +0200 [thread overview]
Message-ID: <4C2CB1BE.2080804@invisiblethingslab.com> (raw)
In-Reply-To: <C85269C8.192C4%keir.fraser@eu.citrix.com>
[-- Attachment #1.1: Type: text/plain, Size: 1535 bytes --]
On 07/01/10 16:50, Keir Fraser wrote:
> On 01/07/2010 04:04, "Rafal Wojtczuk" <rafal@invisiblethingslab.com> 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 #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 226 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2010-07-01 15:18 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 3:04 S3 sleep in dom0 breaks dom0<->domU wallclock synchronization Rafal Wojtczuk
2010-07-01 14:50 ` Keir Fraser
2010-07-01 14:51 ` Keir Fraser
2010-07-01 15:18 ` Joanna Rutkowska [this message]
2010-07-01 16:12 ` Keir Fraser
2010-07-05 19:18 ` Jeremy Fitzhardinge
2010-07-05 19:26 ` Keir Fraser
2010-07-05 22:43 ` Joanna Rutkowska
2010-07-05 22:50 ` Jeremy Fitzhardinge
2010-07-05 23:03 ` Joanna Rutkowska
2010-07-05 23:19 ` Jeremy Fitzhardinge
2010-07-06 9:12 ` Joanna Rutkowska
2010-07-06 16:17 ` Jeremy Fitzhardinge
2010-07-06 3:52 ` Keir Fraser
2010-07-06 9:10 ` Joanna Rutkowska
2010-07-06 10:02 ` Jan Beulich
2010-07-06 10:27 ` Joanna Rutkowska
2010-07-06 12:50 ` Keir Fraser
2010-07-06 14:09 ` Joanna Rutkowska
2010-07-08 14:06 ` Joanna Rutkowska
2010-07-06 14:53 ` Dan Magenheimer
2010-07-06 16:24 ` Jeremy Fitzhardinge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2CB1BE.2080804@invisiblethingslab.com \
--to=joanna@invisiblethingslab.com \
--cc=keir.fraser@eu.citrix.com \
--cc=rafal@invisiblethingslab.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).