]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Show errors reported by nonAPI functions
authorCole Robinson <crobinso@redhat.com>
Wed, 24 Feb 2010 16:13:00 +0000 (11:13 -0500)
committerCole Robinson <crobinso@redhat.com>
Thu, 25 Feb 2010 16:43:56 +0000 (11:43 -0500)
commit482869633accf9a6adeacf63486cd6b306da96d2
tree69dc6046fda64465fe6e00b0d458e2b4bbcc42bb
parentc56cf8d55fc60340707bbee752b9bf3c54e66c04
virsh: Show errors reported by nonAPI functions

Only API calls trigger the error callback, which is required for
proper virsh error reporting. Since we use non API functions from
util/, make sure we properly report these errors.

Fixes lack of error message from 'virsh create idontexit.xml'
tools/virsh.c