[libvirt] [PATCH] Log virRun command output, return with error
crobinso at redhat.com
Tue Sep 23 20:56:45 UTC 2008
The attached patch adds some extra logging to the
virRun command. The full argv is now logged with
DEBUG, as well as the commands stdout and stderr
(if anything is found).
Also, if the command returns an error, we raise
the stderr content with the reported error msg.
This will significantly help with debugging certain
issues, particularly with the storage driver which
makes heavy use of virRun.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2303 bytes
Desc: not available
More information about the libvir-list