[libvirt] [PATCHv2 1/2] virsh: Refactor error clearing on graceful fallback paths
Martin Kletzander
mkletzan at redhat.com
Fri Jul 27 08:19:02 UTC 2012
On 07/26/2012 02:48 PM, Peter Krempa wrote:
> Virsh uses an error handler to save errors from libvirt. On some code
> paths it's needed to clear libvirt errors and continue on fallback code
> paths without reporting failure.
>
> This patch adds function vshResetLibvirtError() that clears error
> returned by libvirt and updates all places where the old two-line method
> was used.
ACK,
Martin
More information about the libvir-list
mailing list