WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] what does localtime=1 actually do?

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] what does localtime=1 actually do?
From: Mark Adams <mark@xxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Nov 2010 11:30:58 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Nov 2010 03:32:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01B20569@trantor>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20101108092620.GA1915@xxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01B20569@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Great this is what I thought, however I've just had another odd one with
2008 R2 domU. The dom0 was rebooted, and when it came up the domU was
1 hour behind the time of dom0. It had to be changed in windows to the
correct time.

Something to do with the domU being saved when the dom0 rebooted? If you
xm create the time is correct with localtime set to 1.

On Mon, Nov 08, 2010 at 08:39:34PM +1100, James Harper wrote:
> > 
> > Debian squeeze, xen 4.0.1
> > 
> > What does setting localtime=1 actually do? Does it set the domU host
> to
> > use the exact time of the dom0, or does it set domU to be + 1hr from
> > UTC?
> > 
> 
> It sets DomU hardware clock to be the local time of the Dom0, which is
> what most OS's expect.
> 
> James

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users