|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- RE: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Paul Durrant
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming,
ANNIE LI <=
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, ANNIE LI
- Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming, Tim Deegan
|
|
|
|
|