From: Ian Jackson Subject: Re: [PATCH v2 COLOPre 06/13] tools/libxl: Introduce a new internal API libxl__domain_unpause() Date: Fri, 12 Jun 2015 12:23:49 +0100 Message-ID: <21882.49477.433308.456685@mariner.uk.xensource.com> References: <1433734997-26570-1-git-send-email-yanghy@cn.fujitsu.com> <1433734997-26570-7-git-send-email-yanghy@cn.fujitsu.com> <1433950640.30003.103.camel@citrix.com> <5578F0A3.5060208@cn.fujitsu.com> <1434012212.30003.119.camel@citrix.com> <55795061.9020506@cn.fujitsu.com> <1434015765.30003.140.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1434015765.30003.140.camel@citrix.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.liu2@citrix.com, Wen Congyang , andrew.cooper3@citrix.com, yunhong.jiang@intel.com, eddie.dong@intel.com, xen-devel@lists.xen.org, guijianfeng@cn.fujitsu.com, rshriram@cs.ubc.ca, Yang Hongyang List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH v2 COLOPre 06/13] tools/libxl: Introduce a new internal API libxl__domain_unpause()"): > On Thu, 2015-06-11 at 17:09 +0800, Wen Congyang wrote: > > If the public API creates a new AO, it is safe to call it directly? > > A public function which takes an ao_how is, I believe, an exception to > this rule and should be annotated with LIBXL_EXTERNAL_CALLERS_ONLY to > prevent accidents. Yes. > I don't think libxl_domain_unpause is such a function though. Indeed. Ian.