Running paravirtualized Linux Kernels as DomU on Sun xVM/Xen 3.4.2 I had the "little" problem that timezone offsets are not correct. My machines are located in Germany so the Timezone in Linux is "Europe/Berlin". The result:
OpenSolaris Dom0: Tuesday, September 22, 2009 7:06:38 AM UTC
Linux SLES 11 DomU: Tue Sep 22 11:06:38 CEST 2009
"CEST" means Central European Summer Time, and the offset should be two hours, not four!
Dom0's real time (hardware) clock has to be set to UTC!
Using Linux as Dom0 this would be a simple "hwclock --utc" call. On OpenSolaris the command is:
rtc -z UTC
The result will be written permanently in
Don't forget to do a
svcadm disable ntp; ntpdate ...yourtimeserver...; svc enable ntp
DomU Linux machines are immediately changing to the right time (9:06 CEST in the example above).