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-devel

Re: [Xen-devel] Why set time on dom0, but takes no effect on RTC time

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Why set time on dom0, but takes no effect on RTC time
From: Pavel Mateja <pavel@xxxxxxxxxx>
Date: Fri, 1 Apr 2011 15:15:28 +0200
Delivery-date: Fri, 01 Apr 2011 06:18:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BLU157-w50021634C89C04E9BFCA64DABE0@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Netsafe
References: <SNT0-MC4-F25XbuuFVa00054de2@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <BLU157-w50021634C89C04E9BFCA64DABE0@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.13.5 (Linux/2.6.38-1-amd64; KDE/4.4.5; x86_64; ; )
> In dom0, I use date command to adjuest time, but  after reboot, the time
> will come back to the time from BIOS.  Is it make sense?

Try to run
hwclock --systohc
before reboot. There is no other way to store time during power off and such.
-- 
Pavel Mateja

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

<Prev in Thread] Current Thread [Next in Thread>