Re: [libvirt] [PATCHv2 1/2] virsh: Refactor error clearing on graceful fallback paths

2012-07-27 Thread Martin Kletzander
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

[libvirt] [PATCHv2 1/2] virsh: Refactor error clearing on graceful fallback paths

2012-07-26 Thread Peter Krempa
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