From: Olaf Hering <olaf@aepfle.de>
To: Jan Beulich <JBeulich@suse.com>
Cc: Tim Deegan <tim@xen.org>, Eddie Dong <eddie.dong@intel.com>,
Jun Nakajima <jun.nakajima@intel.com>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH v3] x86/nhvm: properly clean up after failure to set up all vCPU-s
Date: Thu, 21 Feb 2013 15:42:47 +0100 [thread overview]
Message-ID: <20130221144247.GA23819@aepfle.de> (raw)
In-Reply-To: <51262DB302000078000BFF3D@nat28.tlf.novell.com>
On Thu, Feb 21, Jan Beulich wrote:
> Otherwise we may leak memory when setting up nHVM fails half way.
>
> This implies that the individual destroy functions will have to remain
> capable (in the VMX case they first need to be made so, following
> 26486:7648ef657fe7 and 26489:83a3fa9c8434) of being called for a vCPU
> that the corresponding init function was never run on.
>
> Once at it, also remove a redundant check from the corresponding
> parameter validation code.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
This one fixes the crash as well. Thanks.
Olaf
prev parent reply other threads:[~2013-02-21 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-21 13:22 [PATCH v3] x86/nhvm: properly clean up after failure to set up all vCPU-s Jan Beulich
2013-02-21 14:09 ` Tim Deegan
2013-02-21 14:42 ` Olaf Hering [this message]
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=20130221144247.GA23819@aepfle.de \
--to=olaf@aepfle.de \
--cc=JBeulich@suse.com \
--cc=eddie.dong@intel.com \
--cc=jun.nakajima@intel.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xen.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.