Skip to content

xen: fix various wallclock problems

David Vrabel xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xen: sync the CMOS RTC as well as the Xen wallclockarch/x86/xen/time.c+5 -02 replies
2/3xen: add correct 500 ms offset when setting Xen wallclockarch/x86/xen/time.c+7 -23 replies
3/3xen/privcmd: add IOCTL_PRIVCMD_SYNC_WALLCLOCK to sync Xen's wallclockarch/x86/xen/time.c drivers/xen/privcmd.c include/xen/privcmd.h +1 more+40 -78 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] xen: fix various wallclock problems

This series (with some toolstack updates) corrects a number of cases where a guest can see an incorrect wallclock time.

1. Systems with NTP won't periodically synchronize the hardware RTC so the wallclock may be incorrect after a reboot.

2. The wallclock is always ~500 ms behind the correct time.

3. If the system time was stepped and NTP isn't synchronized yet, the wallclock will still have the incorrect time. The fix for this requires the toolstack to synchronize the wallclock -- patch #3 provides the mechanism for this.

David