James Harper
2007-Jul-02 00:13 UTC
[Xen-users] Push local rather than utc time to HVM domains
When I start a HVM domain, it appears to be out by the number of hours of my UTC offset. I am guessing that qemu is setting the virtual BIOS date to the physical UTC time, rather than the local time. UTC makes sense for Linux, but Windows isn''t so smart so it would be nice to have a choice... ntp fixes it up of course, but big time jumps like that can cause all sorts of race conditions (eg scheduled tasks thinking they ought to run before ntp kicks in). Or maybe this option already exists and I don''t know about it? Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz
2007-Jul-02 01:16 UTC
Re: [Xen-users] Push local rather than utc time to HVM domains
James Harper schrieb:> When I start a HVM domain, it appears to be out by the number of hours > of my UTC offset. I am guessing that qemu is setting the virtual BIOS > date to the physical UTC time, rather than the local time.> > Or maybe this option already exists and I don''t know about it?Hi, according to the examples, the HVM DomU configuration files could take localtime=1 as argument. -- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Derek Sherlock
2007-Jul-02 04:52 UTC
Re: [Xen-users] Push local rather than utc time to HVM domains
Hi, The examples say that it works using the "localtime=1" parameter, but it doesn''t actually work. It still passes UTC. At least that is the case with the xen-3.0.4 that I am running. Can''t speak for newer xens. Derek. On 7/1/07, Stephan Seitz <s.seitz@netz-haut.de> wrote:> James Harper schrieb: > > When I start a HVM domain, it appears to be out by the number of hours > > of my UTC offset. I am guessing that qemu is setting the virtual BIOS > > date to the physical UTC time, rather than the local time. > > > > > Or maybe this option already exists and I don''t know about it? > > Hi, > > according to the examples, the HVM DomU configuration files could take > localtime=1 > as argument. > > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users