mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 22:15:20 +00:00
util: remove references to virRun/virExec
virCommand is now used everywhere. Signed-off-by: Ján Tomko <jtomko@redhat.com> Suggested-by: Sebastian Mitterle <smitterl@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
36f09bd3c3
commit
7e5580a2a0
@ -129,7 +129,7 @@ VIR_ENUM_IMPL(virProcessSchedPolicy,
|
|||||||
* @status: child exit status to translate
|
* @status: child exit status to translate
|
||||||
*
|
*
|
||||||
* Translate an exit status into a malloc'd string. Generic helper
|
* Translate an exit status into a malloc'd string. Generic helper
|
||||||
* for virCommandRun(), virCommandWait(), virRun(), and virProcessWait()
|
* for virCommandRun(), virCommandWait() and virProcessWait()
|
||||||
* status argument, as well as raw waitpid().
|
* status argument, as well as raw waitpid().
|
||||||
*/
|
*/
|
||||||
char *
|
char *
|
||||||
@ -1190,7 +1190,7 @@ virProcessRunInForkHelper(int errfd,
|
|||||||
* particular no mutexes should be used in @cb, unless steps were
|
* particular no mutexes should be used in @cb, unless steps were
|
||||||
* taken before forking to guarantee a predictable state. @cb
|
* taken before forking to guarantee a predictable state. @cb
|
||||||
* must not exec any external binaries, instead
|
* must not exec any external binaries, instead
|
||||||
* virCommand/virExec should be used for that purpose.
|
* virCommand should be used for that purpose.
|
||||||
*
|
*
|
||||||
* On return, the returned value is either -1 with error message
|
* On return, the returned value is either -1 with error message
|
||||||
* reported if something went bad in the parent, if child has
|
* reported if something went bad in the parent, if child has
|
||||||
|
Loading…
x
Reference in New Issue
Block a user