[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Clock problems with Windows guests and Xen

On Tue, Jan 27, 2009 at 01:33:21PM -0500, Matthew Donovan wrote:
> When I start Windows guests with libvirt my clocks are 5 hours off.  When I
> use a Xen configuration file, I can specify an offset (rtc_timeoffset =
> -18000) to get my clock to sync with the host.  Is there a way to do specify
> this offset in XML with libvirt?  
> Right now, I'm using version 0.4.4 but I downloaded the source for 0.5.1 and
> it looks like that part of domain_conf.c hasn't changed.

Sounds like you have the wrong clock offset setting, in the XML. There
are two options:

        <clock offset="localtime"/>
        <clock offset="utc"/>

Usually for Windows you want the 'localtime' one since it is dumb at time
keeping & DST shifts.

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]