|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
Re: [XenPPC] xm save/restore tests
Thanks Yi, I got it.
-JX
On Nov 10, 2006, at 10:07 AM, geyi wrote:
diff -r b03ebb287fa9 drivers/xen/core/gnttab.c
--- a/drivers/xen/core/gnttab.c Fri Nov 03 17:58:22 2006 -0500
+++ b/drivers/xen/core/gnttab.c Thu Nov 09 15:40:35 2006 -0500
@@ -426,7 +426,9 @@ int gnttab_suspend(void)
int gnttab_suspend(void)
{
#ifdef CONFIG_PPC_XEN
- return arch_gnttab_suspend(shared);
+ int ret = arch_gnttab_suspend(shared);
+ shared = NULL;
+ return ret;
#else
#if !defined(__ia64__)
apply_to_page_range(&init_mm, (unsigned long)shared,
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
Sure. Please see the attached file below.
--
Yi Ge <kudva@xxxxxxxxxxxxxx>
# HG changeset patch
# User gy@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Date 1163170874 18000
# Node ID 714c31abb495ad5800b4b03cf998ca1211f6b36d
# Parent b03ebb287fa98067dcde1ff7b0bdac3349397ee7
set NULL to shared in gnttab_suspend.
Signed-off-by: Yi Ge <kudva@xxxxxxxxxxxxxx>
Signed-off-by: Dan E Poff <poff@xxxxxxxxxxxxxx>
diff -r b03ebb287fa9 -r 714c31abb495 drivers/xen/core/gnttab.c
--- a/drivers/xen/core/gnttab.c Fri Nov 03 17:58:22 2006 -0500
+++ b/drivers/xen/core/gnttab.c Fri Nov 10 10:01:14 2006 -0500
@@ -426,7 +426,9 @@ int gnttab_suspend(void)
int gnttab_suspend(void)
{
#ifdef CONFIG_PPC_XEN
- return arch_gnttab_suspend(shared);
+ int ret = arch_gnttab_suspend(shared);
+ shared = NULL;
+ return ret;
#else
#if !defined(__ia64__)
apply_to_page_range(&init_mm, (unsigned long)shared,
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
|
|
|
|