[PATCH 0/5] virsh: small refactoring

Kristina Hanicova posted 5 patches 2 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1632409613.git.khanicov@redhat.com
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(-)
[PATCH 0/5] virsh: small refactoring
Posted by Kristina Hanicova 2 years, 7 months ago
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