[libvirt] [PATCH 02/15] util: eliminate extra args from virExec

Eric Blake eblake at redhat.com
Thu Feb 7 23:42:39 UTC 2013


On 02/07/2013 02:37 PM, Laine Stump wrote:
> All args except "cmd" in the call to virExec are now redundant, since
> they can all be found in cmd, so remove the args and reference the
> data directly in cmd. One exception to this is that "infd" was being
> modified within virExec, and modifying the original in cmd caused make
> check failures, so cmd->infd is copied to a local, and the local is
> used during virExec().
> ---
>  src/util/vircommand.c | 142 +++++++++++++++++---------------------------------
>  1 file changed, 49 insertions(+), 93 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130207/d775de3a/attachment-0001.sig>


More information about the libvir-list mailing list