From: Wei Liu Subject: Re: [PATCH 2/3] libxl: Domain destroy: unlock userdata earlier Date: Tue, 17 Mar 2015 17:34:24 +0000 Message-ID: <20150317173423.GC23662@zion.uk.xensource.com> References: <1426606259-9692-1-git-send-email-jfehlig@suse.com> <1426606259-9692-3-git-send-email-jfehlig@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1426606259-9692-3-git-send-email-jfehlig@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jim Fehlig Cc: wei.liu2@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Mar 17, 2015 at 09:30:58AM -0600, Jim Fehlig wrote: > From: Ian Jackson > > Unlock the userdata before we actually call xc_domain_destroy. This > leaves open the possibility that other libxl callers will see the > half-destroyed domain (with no devices, paused), but this is fine. > > Signed-off-by: Ian Jackson > CC: Wei Liu > Reviewed-by: Jim Fehlig > Tested-by: Jim Fehlig Acked-by: Wei Liu