All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pvops: fix "xm save -c" issue
@ 2010-12-14  5:31 Kenji Wakamiya
  2010-12-14 14:59 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 12+ messages in thread
From: Kenji Wakamiya @ 2010-12-14  5:31 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 341 bytes --]

Hi,

I'm investigating the issue of "xm save -c" in case of PV guests.
Then, I tried to prevent calling dpm_resume_end() when suspend was
canceled. It seems to work fine about blk and net.
How about this?

Thanks,

Signed-off-by: Kenji Wakamiya <wkenji@jp.fujitsu.com>
Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
-- 
Kenji Wakamiya


[-- Attachment #2: xen-pvops-dpm.diff --]
[-- Type: text/plain, Size: 413 bytes --]

diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 0b50906..3dcc270 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -148,11 +148,10 @@ out_resume:
 	if (!cancelled) {
 		xen_arch_resume();
 		xs_resume();
+		dpm_resume_end(PMSG_RESUME);
 	} else
 		xs_suspend_cancel();
 
-	dpm_resume_end(PMSG_RESUME);
-
 	/* Make sure timer events get retriggered on all CPUs */
 	clock_was_set();
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-01-25 16:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-14  5:31 [PATCH] pvops: fix "xm save -c" issue Kenji Wakamiya
2010-12-14 14:59 ` Konrad Rzeszutek Wilk
2010-12-15  4:18   ` Kenji Wakamiya
2010-12-15 15:40     ` Konrad Rzeszutek Wilk
2010-12-16  5:49       ` Kenji Wakamiya
2010-12-17  9:43         ` Ian Campbell
2011-01-10 17:01           ` Konrad Rzeszutek Wilk
2011-01-21  5:35             ` Kenji Wakamiya
2011-01-21  6:28               ` SUZUKI, Kazuhiro
2011-01-21  9:14                 ` Ian Campbell
2011-01-25  7:23                   ` SUZUKI, Kazuhiro
2011-01-25 16:32                     ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.