[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
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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |