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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.