[libvirt] [PATCH 4/7] Add ability to register callback for virCommand dry run
Ján Tomko
jtomko at redhat.com
Mon Mar 17 17:39:14 UTC 2014
On 03/12/2014 02:21 PM, Daniel P. Berrange wrote:
> To allow for fault injection of the virCommand dry run,
> add the ability to register a callback. The callback will
> be passed the argv, env and stdin buffer and is expected
> to return the exit status and optionally fill stdout and
> stderr buffers.
virCommandProcessIO should be skipped on a dry run, since it overwrites the
buffers.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140317/4fb1fac5/attachment-0001.sig>
More information about the libvir-list
mailing list