[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] how to keep time of windows pvhvm synchronized with host after resuming
hvm_latch_shinfo_size() is called and HVM_PARAM_CALLBACK_IRQ is sent to do_hvm_op in hvm.c.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. 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
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |