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

[Xen-devel] [patch]Fix CMOS time error after waking up from S3 by /proc/acpi/alarm


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
  • Date: Thu, 19 Jun 2008 22:25:36 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Jun 2008 07:26:30 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjSGFdZuIfLnHvlRkGiBMxDUTUT/w==
  • Thread-topic: [patch]Fix CMOS time error after waking up from S3 by /proc/acpi/alarm

Hi, Keir

This is a patch for Domain0. When writing /proc/acpi/alarm to wakeup up
in adjust mode, this patch read the "century" filed and add it to the
"year" field before writing. This avoids the CMOS time error (2000 years
decrement) after waking up.

Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>

Attachment: acpi_dom0_alarm.patch
Description: acpi_dom0_alarm.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®.