From: ANNIE LI <annie.li@oracle.com>
To: Tim Deegan <Tim.Deegan@citrix.com>
Cc: Paul Durrant <Paul.Durrant@citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: how to keep time of windows pvhvm synchronized with host after resuming
Date: Wed, 22 Sep 2010 16:51:17 +0800 [thread overview]
Message-ID: <4C99C385.3040602@oracle.com> (raw)
In-Reply-To: <20100917114304.GE11387@whitby.uk.xensource.com>
> Not that I can remember. You could try scattering printks in
> hvm_latch_shinfo_size() to see if it's getting called at all,
> and in arch_set_info_guest() to see if it's calling
> update_domain_wallclock_time() like it should.
hvm_latch_shinfo_size() is called and HVM_PARAM_CALLBACK_IRQ is sent to
do_hvm_op in hvm.c.
Totally, 4 functions call update_domain_wallclock_time, they are
rtc_set_time(), arch_set_info_guest(), construct_dom0() and
do_settime().The result is:
rtc_set_time() is never called.
construct_dom0() and arch_set_info_guest() are called once. However,
update_domain_wallclock_time() was not called in arch_set_info_guest()
since v->vcpu_id is 1 instead of 0. Is it the expected result?
do_settime() is called regularly. The call route is
do_platform_op()->XENPF_settime->do_settime()->update_domain_wallclock_time().
Is do_settime(...) the function to update wc_sec and wc_nsec? Parameters
secs and nsecs are always variable. It seems wc_sec and wc_nsec are
calculated from secs, nsecs and system_time_base, but wc_sec keep
unchanged all the time. Anything else i missed?
Thanks
Annie
next prev parent reply other threads:[~2010-09-22 8:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 8:30 how to keep time of windows pvhvm synchronized with host after resuming ANNIE LI
2010-09-16 8:59 ` Paul Durrant
2010-09-16 9:19 ` Tim Deegan
2010-09-16 10:00 ` ANNIE LI
2010-09-17 10:44 ` ANNIE LI
2010-09-17 11:43 ` Tim Deegan
2010-09-17 14:37 ` ANNIE LI
2010-09-22 8:51 ` ANNIE LI [this message]
2010-09-23 8:19 ` Tim Deegan
2010-09-24 13:53 ` ANNIE LI
2010-09-24 15:18 ` Tim Deegan
2010-09-25 2:26 ` ANNIE LI
2010-09-25 7:27 ` ANNIE LI
2010-09-27 9:53 ` Tim Deegan
2010-09-28 3:54 ` ANNIE LI
2010-09-28 9:00 ` Tim Deegan
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=4C99C385.3040602@oracle.com \
--to=annie.li@oracle.com \
--cc=Paul.Durrant@citrix.com \
--cc=Tim.Deegan@citrix.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 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.