xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Kenji Wakamiya <wkenji@jp.fujitsu.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] pvops: fix "xm save -c" issue
Date: Tue, 14 Dec 2010 09:59:25 -0500	[thread overview]
Message-ID: <20101214145925.GA5769@dumpdata.com> (raw)
In-Reply-To: <4D070138.7090708@jp.fujitsu.com>

On Tue, Dec 14, 2010 at 02:31:36PM +0900, Kenji Wakamiya wrote:
> 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?


Could you give more details of what the failure is?

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

> 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();
>  

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

  reply	other threads:[~2010-12-14 14:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14  5:31 [PATCH] pvops: fix "xm save -c" issue Kenji Wakamiya
2010-12-14 14:59 ` Konrad Rzeszutek Wilk [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101214145925.GA5769@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=wkenji@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).