[libvirt] [PATCHv2 0/2] Refactor and fix error resetting on fallback paths in virsh

Peter Krempa pkrempa at redhat.com
Thu Jul 26 12:48:57 UTC 2012


This series fixes places where errors were not reset correctly and adds a
function for resetting libvirt errors in virsh that simplifies this operation.

v2 is a rebase of the previous version as it conflicted with the rewrite of
cmdUndefine.

Peter Krempa (2):
  virsh: Refactor error clearing on graceful fallback paths
  virsh: Fix error resetting on fallback paths

 tools/virsh-domain-monitor.c |   16 ++++++----------
 tools/virsh-domain.c         |   36 ++++++++++++------------------------
 tools/virsh-network.c        |    3 +--
 tools/virsh-pool.c           |    3 +--
 tools/virsh-snapshot.c       |   19 +++++++------------
 tools/virsh.c                |   13 +++++++++++--
 6 files changed, 38 insertions(+), 52 deletions(-)

-- 
1.7.8.6




More information about the libvir-list mailing list