From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [PATCH v1 09/10] libxl: introduce libxl_retrieve_domain_configuration Date: Tue, 29 Jul 2014 16:29:44 +0100 Message-ID: <21463.48616.848314.874529@mariner.uk.xensource.com> References: <1405002745-5034-1-git-send-email-wei.liu2@citrix.com> <1405002745-5034-10-git-send-email-wei.liu2@citrix.com> <1405594741.12538.15.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405594741.12538.15.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: Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH v1 09/10] libxl: introduce libxl_retrieve_domain_configuration"): > It occurs to me to wonder if any function which takes a lock ought to be > async capable? If nothing holds the lock over a slow operation, then this is not necessary. This property of the lock ought to be documented. > Also is there is any possibility that any of the operations needed to > gather the updated configuration might take a long time. I think we're hoping not. Ian.