Xu, Dongxiao
2008-Jan-04 08:36 UTC
[Xen-devel] [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@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel