|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 4 of 5] Set SIF_RESUMABLE flag in suspend
# HG changeset patch
# User Brendan Cully <brendan@xxxxxxxxx>
# Date 1168642944 28800
# Node ID 8c3139592f4d99d7ce1ca4e4e00792b00fc323b4
# Parent ebdc01d032e8656c130ed945ce54f08108f42c73
Set SIF_RESUMABLE flag in suspend.
Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
diff -r ebdc01d032e8 -r 8c3139592f4d
linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Fri Jan 12
15:02:24 2007 -0800
+++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_reboot.c Fri Jan 12
15:02:24 2007 -0800
@@ -83,6 +83,7 @@ static void pre_suspend(void)
xen_start_info->store_mfn = mfn_to_pfn(xen_start_info->store_mfn);
xen_start_info->console.domU.mfn =
mfn_to_pfn(xen_start_info->console.domU.mfn);
+ xen_start_info->flags |= SIF_RESUMABLE;
}
static void post_suspend(int reconnect)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|