console_timestamps for independent wall clock case.
PATCH 1/1 console_timestamps for independent wall clock case.
Hi, Keir
If independent wall clock flag is on,
Hypervisor(HV) clock is not synchronized to Dom0.
But Currently console_timestamps in HV is implemented, Dom0 sync to HV is required.
Thanks
Atsushi SAKAI
arch/i386/kernel/time-xen.c +2 -2
@@ -469,7 +469,7 @@ int do_settimeofday(struct timespec *tv) sec = tv->tv_sec;__normalize_time (&sec, &nsec); -if (is_initial_xendomain () && !independent_wallclock) { +if (is_initial_xendomain ()) { op.cmd = XENPF_settime; op.u.settime.secs = sec; op.u.settime.nsecs = nsec;
@@ -506,7 +506,7 @@ static void sync_xen_wallclock(unsigneds64 nsec;struct xen_platform_op op; -if (!ntp_synced () || independent_wallclock || !is_initial_xendomain ()) +if (!ntp_synced () || !is_initial_xendomain ())return ;write_seqlock_irq (&xtime_lock);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
That's the default though. If someone explicitly specifies independent_wallclock on dom0 then they should know what they are doing.
-- Keir
Quoted 17 lines · Atsushi SAKAI
Hi, Keir
If independent wall clock flag is on,
Hypervisor(HV) clock is not synchronized to Dom0.But Currently
console_timestampsin HV is implemented, Dom0 sync to HV is required.Signed-off-by Atsushi SAKAI <[email protected]>Thanks
Atsushi SAKAI_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel