From: Wei Liu Subject: Re: [PATCH v2 03/18] libxl: functions to lock / unlock domain data in libxl user data store Date: Wed, 3 Sep 2014 16:09:17 +0100 Message-ID: <20140903150917.GF16937@zion.uk.xensource.com> References: <1406744639-28782-1-git-send-email-wei.liu2@citrix.com> <1406744639-28782-4-git-send-email-wei.liu2@citrix.com> <1409748042.23789.2.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1409748042.23789.2.camel@kazak.uk.xensource.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: Ian Campbell Cc: ian.jackson@eu.citrix.com, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, Sep 03, 2014 at 01:40:42PM +0100, Ian Campbell wrote: > On Wed, 2014-07-30 at 19:23 +0100, Wei Liu wrote: > > The term "domain data" means libxl's knowledge of a domain, which > > includes but not limit to domain configuration. > > I think this may be the root of my confusion about the locking strategy > you are deploying in this series. I took "domain configuration" here to > mean exactly the libxl-json userdata. > > It seems like you are also including any application specific userdata > associated with the domain in "libxl's knowledge of a domain". Is that > right? > I've mentioned this in other email but I reiterate the important bit here for the record. Yes, this "libxl's knowledge of a domain". The registry entry will be changed to domain-userdata-lock. This lock is used to protect against domain destruction. Wei. > Ian.