[libvirt] [PATCHv2 2/3] command: don't mix RunAsync and daemons

Daniel Veillard veillard at redhat.com
Fri Mar 25 03:14:36 UTC 2011


On Wed, Mar 23, 2011 at 05:48:12PM -0600, Eric Blake wrote:
> It doesn't make sense to run a daemon without synchronously
> waiting for the child process to reply whether the daemon has
> been kicked off and pidfile written yet.
> 
> * src/util/command.c (VIR_EXEC_RUN_SYNC): New constant.
> (virCommandRun): Set temporary flag.
> (virCommandRunAsync): Use it to prevent async runs of intermediate
> child when spawning asynchronous daemon grandchild.
> ---
> 
> v2: new patch

  ACK,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list