[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v3] x86/nhvm: properly clean up after failure to set up all vCPU-s



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@xxxxxxxx>

Tested-by: Olaf Hering <olaf@xxxxxxxxx>


This one fixes the crash as well. Thanks.


Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.