All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Ravi Sahita <ravi.sahita@intel.com>, xen-devel@lists.xenproject.org
Cc: george.dunlap@eu.citrix.com, tim@xen.org, wei.liu2@citrix.com,
	edmund.h.white@intel.com, JBeulich@suse.com
Subject: Re: [PATCH for 4.6] x86/hvm.c: fix regression in guest destruction
Date: Wed, 29 Jul 2015 17:44:38 +0100	[thread overview]
Message-ID: <55B902F6.3040005@citrix.com> (raw)
In-Reply-To: <1438187962-4047-1-git-send-email-ravi.sahita@intel.com>

On 29/07/15 17:39, Ravi Sahita wrote:
> As reported by Wei Lu on July 27 2015

Reported-by: Wei Liu <wei.liu2@citrix.com>

> Signed-off-by: Ravi Sahita <ravi.sahita@intel.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

> ---
>  xen/arch/x86/hvm/hvm.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
> index ec1d797..6a56216 100644
> --- a/xen/arch/x86/hvm/hvm.c
> +++ b/xen/arch/x86/hvm/hvm.c
> @@ -2463,7 +2463,9 @@ void hvm_vcpu_destroy(struct vcpu *v)
>  {
>      hvm_all_ioreq_servers_remove_vcpu(v->domain, v);
>  
> -    altp2m_vcpu_destroy(v);
> +    if ( hvm_altp2m_supported() )
> +        altp2m_vcpu_destroy(v);
> +
>      nestedhvm_vcpu_destroy(v);
>  
>      free_compat_arg_xlat(v);

  reply	other threads:[~2015-07-29 16:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 16:39 [PATCH for 4.6] x86/hvm.c: fix regression in guest destruction Ravi Sahita
2015-07-29 16:44 ` Andrew Cooper [this message]
2015-07-29 16:51   ` Wei Liu
2015-07-30  9:21   ` Ian Campbell
2015-07-30  9:32     ` Ian Campbell
2015-07-30  9:38       ` George Dunlap
2015-07-30  9:50         ` Ian Campbell
2015-07-30  9:55       ` Andrew Cooper
2015-07-30 10:08         ` 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=55B902F6.3040005@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=edmund.h.white@intel.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ravi.sahita@intel.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 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.