Re: [libvirt] [PATCH 4/7] Add ability to register callback for virCommand dry run

2014-03-17 Thread Ján Tomko
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.

[libvirt] [PATCH 4/7] Add ability to register callback for virCommand dry run

2014-03-12 Thread Daniel P. Berrange
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. Signed-off-by: Daniel P. Berrange berra...@redhat.com