Displaying 2 results from an estimated 2 matches for "sync_xen_wallclock".
2011 Jun 30
3
syncing wall clock time from Dom0 to hypervisor
While in the upstream kernel I''m unable to find any use of XENPF_settime
(and the DOM0_SETTIME alias of it) at all, in the 2.6.18 tree (and the
forward ports of it) the function gets used only when ntp_synced()
returns true (and - that''s minor - when independent_wallclock is not
set).
It would however seem to me that this doesn''t cover the case where
the host clock gets
2008 Aug 06
10
[BUG 1282] time jump on live migrate root cause & proposed fixes
...e, the system time in the guest advances
by the difference between the two uptimes.
I can think of a few possible fixes for this issue:
1) have system_time in the hypervisor start at unix epoch 0
(january 1st 1970) instead of at boot time - this may
require some magic to sync_cmos_clock(), sync_xen_wallclock()
and/or other functions so dom0 does not get too confused while
changing the time during bootup
2) have time_init() and time_resume() calculate the hypervisor
boot time from the shared_info ->wc_sec ->wc_nsec and the
shared_info->per cpu vcpu_info->system_time -- if the ho...