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

RE: [Xen-devel] [patch]Fix a bug that can't resume from S3 after createan HVM guest


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
  • Date: Fri, 6 Jun 2008 10:18:48 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 05 Jun 2008 19:19:25 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcjHb+356bLVKox0Tdy2FrLQd90X8AACvq7Q
  • Thread-topic: [Xen-devel] [patch]Fix a bug that can't resume from S3 after createan HVM guest

This new patch may be better, just remove "__init" modifier of 
disable_pit_irq().

Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>
Signed-off-by: Li Zhang <li.zhang@xxxxxxxxx>

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Chen, Huacai
Sent: 2008年6月6日 8:55
To: Keir Fraser
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch]Fix a bug that can't resume from S3 after createan 
HVM guest

Hi, Keir,

If we don't use PIT, we should disable it at boot time and at S3
resuming. In Xen this is done by disable_pit_irq(), but this function is
used by __initcall(). After bootstrap it will be discarded and may be
overwritten. This usually results in S3 resuming failure. This patch
fixed the issue.
 
Signed-off-by: Huacai Chen <huacai.chen@xxxxxxxxx>
Signed-off-by: Li Zhang <li.zhang@xxxxxxxxx>

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