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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]