From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Daniel Schroeder <sec@dschroeder.info>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: [XEN-3.4] pv_ops dom0 time/clock handling
Date: Tue, 26 May 2009 21:08:01 -0700 [thread overview]
Message-ID: <4A1CBCA1.10301@goop.org> (raw)
In-Reply-To: <4A1A6B5E.3010602@dschroeder.info>
Daniel Schroeder wrote:
>>> this works for OpenSUSE 2.6.29.X XEN dom0 Kernel...
>>> ...i have tested latest git-next repo .30-rc6 and the pv domU is two
>>> hours ahead.
>>> I have checked the following:
>>>
>>> dom0 ntpd working, correct time and /etc/localtime is correct
>>> (Europe/Berlin)
>>>
>>> domU no ntpd and correct timezone and /etc/localtime (Europe/Berlin)
>>> "localtime = 0" in pv domU config file...
>>>
>>> it seems to me, that the domU gets not UTC as basetime...
>>>
>> This could plausibly be a pv_ops bug. I fthe only thing you change is the
>> kernel -- keeping all configuration the same -- then dom0 will be providing
>> exactly the same time info to both kernels.
>>
>>
> checked with OpenSUSE 2.6.29.X xenified dom0...pv domU has the right
> time...booted pvops .30-rc6, pv domU gets probably localtime as
> basetime, so domU is two hours in the future...
>
Time is pretty straightforward, and there's no TZ calculation involved
at any points. Its hard to see how you'd get a two hour delta (is it
exactly 2 hours?).
One difference between pvops time handling and the -xen kernels, is that
they defaulted to slaving the domU time off the hypervisor at all times,
so a system time change would propagate into guests. I don't implement
that in pvops kernels, so they'll maintain independent time unless you
explicitly sync with some mechanism like ntp.
J
next prev parent reply other threads:[~2009-05-27 4:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 8:47 [XEN-3.4] any changes to time/clock handling? Daniel Schroeder
2009-05-22 16:42 ` Keir Fraser
2009-05-22 19:31 ` Daniel Schroeder
2009-05-25 9:11 ` [XEN-3.4] pv_ops dom0 time/clock handling Daniel Schroeder
2009-05-25 9:16 ` Keir Fraser
2009-05-25 9:56 ` Daniel Schroeder
2009-05-27 4:08 ` Jeremy Fitzhardinge [this message]
2009-05-27 7:37 ` Daniel Schroeder
2009-05-27 20:31 ` Jeremy Fitzhardinge
2009-05-27 21:34 ` [XEN-3.4] pv_ops dom0 time/clock handling --solved Daniel Schroeder
2009-05-29 17:00 ` Jeremy Fitzhardinge
2009-05-29 19:00 ` [XEN-3.4] pv_ops dom0 time/clock handling Daniel Schroeder
-- strict thread matches above, loose matches on Subject: below --
2009-05-25 12:28 Boris Derzhavets
2009-05-25 12:57 ` Daniel Schroeder
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=4A1CBCA1.10301@goop.org \
--to=jeremy@goop.org \
--cc=keir.fraser@eu.citrix.com \
--cc=sec@dschroeder.info \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.