[PATCH 0/5] virsh: small refactoring

Kristina Hanicova khanicov at redhat.com
Thu Sep 23 15:07:59 UTC 2021


This series targets some alterations to make the code more readable and
consistent.

Kristina Hanicova (5):
  virsh: checkpoint & domain-monitor: small refactoring
  virsh: domain: refactoring of small functions
  virsh: domain: change the way functions return bool value
  virsh: domain, host & volume: refactor bigger functions
  virsh: refactor functions to not use 'ret' variable

 tools/virsh-checkpoint.c     |  19 +-
 tools/virsh-domain-monitor.c | 314 +++++++++----------
 tools/virsh-domain.c         | 567 ++++++++++++++---------------------
 tools/virsh-host.c           | 166 +++++-----
 tools/virsh-interface.c      |  65 ++--
 tools/virsh-network.c        |  47 ++-
 tools/virsh-nodedev.c        |  32 +-
 tools/virsh-nwfilter.c       |  15 +-
 tools/virsh-util.c           |   3 +-
 tools/virsh-volume.c         |  56 ++--
 10 files changed, 546 insertions(+), 738 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list