Here''s what I did. To make my xvm server as similar as possible to
Linux dom0, one of the changes I did was setting hardware clock to use
UTC by changing /etc/rtc_config like this
zone_info=UTC
zone_lag=0
/etc/TIMEZONE already have this entry
TZ=Asia/Jakarta
(which is equal to GMT+7, btw). Time in dom0 is synchronized using NTP.
On windows domU''s config file (in old xen config format), I have this
localtime=1
which works correctly on Linux dom0s. However on opensolaris this
makes Windows domU shows incorrect time (7 hours too late). WITHOUT
the "localtime" line, domU is further late (14 hours too late).
So what I had to do was having the
localtime=1
as well as
rtc_timeoffset=25200
(which is 7 hours, in seconds). Is this a known bug, or is there
something wrong with my setup?
Regards,
Fajar