Xen: synchronizing time with Dom0

Mike asked:

I have Xen virtual machines running on Debian 6 (both Dom0 and DomU).
I would like to synchronize clock on DomU with Dom0.
On http://wiki.xen.org/wiki/Xen_FAQ_DomU I have read that I need to set /proc/sys/xen/independent_wallclock to 0 but I do not even have /proc/sys/xen directory on DomU:

# ls /proc/sys/xen
ls: cannot access /proc/sys/xen: No such file or directory

What should I do to synchronize clock on DomU with Dom0?


[    0.000000] Booting paravirtualized kernel on Xen
[    0.000000] Xen version: 4.0.1 (preserve-AD) (dom0)

My answer:

You run NTP, like the FAQ said.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.