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

[Xen-devel] [PATCH] Fix the wrong wall clock of Dom0 after it resumes fr

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix the wrong wall clock of Dom0 after it resumes from S3
From: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Date: Fri, 4 Jan 2008 16:36:22 +0800
Delivery-date: Fri, 04 Jan 2008 00:40:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchOrOLAN2q2xHpyR8Wv0niunJVbTA==
Thread-topic: [PATCH] Fix the wrong wall clock of Dom0 after it resumes from S3
Fix the wrong wall clock of Dom0 after it resumes from S3.
 - In the GMT+08:00 time zone, if disable UTC, when Dom0 resumes from
S3, its
   wallclock will increase by 8 hours wrongly; this is because:
time_resume()
   treats the CMOS time as UTC time, and assigns it to the global
variable
   wc_sec; this patch fixes the issue by remembering the difference
between
   them before S3, and making adjustment accordingly after S3.

Signed-off-by: Xu Dongxiao <dongxiao.xu@xxxxxxxxx>

Attachment: 8hour.patch
Description: 8hour.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix the wrong wall clock of Dom0 after it resumes from S3, Xu, Dongxiao <=