]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
libxl: libxl_internal.h: Clarify ao rule against internal callers
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 11 Jun 2015 16:56:15 +0000 (17:56 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 12 Jun 2015 11:15:34 +0000 (12:15 +0100)
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Juergen Gross <jgross@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Juergen Gross <jgross@suse.com>
tools/libxl/libxl_internal.h

index bb3a5c7e78300d3947f7ed6ece9d3eea1ca6a3f4..e96d6b57a522659aedce51e10382f8925e5a9aba 100644 (file)
@@ -1908,8 +1908,9 @@ _hidden void libxl__egc_cleanup(libxl__egc *egc);
  * All "slow" functions (see below for the exact definition) need to
  * use the asynchronous operation ("ao") machinery.  The function
  * should take a parameter const libxl_asyncop_how *ao_how and must
- * start with a call to AO_INITIATOR_ENTRY.  These functions MAY NOT
- * be called from inside libxl, because they can cause reentrancy
+ * start with a call to AO_CREATE or equivalent.  These functions MAY
+ * NOT be called from inside libxl (regardless of what is passed for
+ * ao_how), because they can cause reentrancy hazards due to
  * callbacks.
  *
  * For the same reason functions taking an ao_how may make themselves