[libvirt PATCH 0/4] virsh: use g_new0 (glib chronicles)

Ján Tomko posted 4 patches 3 years, 5 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1601917336.git.jtomko@redhat.com
tools/virsh-checkpoint.c     | 11 +++++++----
tools/virsh-domain-monitor.c | 11 +++++------
tools/virsh-domain.c         | 24 ++++++++++++------------
tools/virsh-host.c           | 22 +++++++++++-----------
tools/virsh-interface.c      |  8 ++++----
tools/virsh-network.c        |  9 ++++-----
tools/virsh-nodedev.c        | 12 ++++++------
tools/virsh-nwfilter.c       |  8 ++++----
tools/virsh-pool.c           |  8 ++++----
tools/virsh-secret.c         |  6 +++---
tools/virsh-snapshot.c       | 14 ++++++++------
tools/virsh-volume.c         |  8 ++++----
tools/vsh.c                  | 30 ++++++------------------------
tools/vsh.h                  |  6 ------
14 files changed, 78 insertions(+), 99 deletions(-)
[libvirt PATCH 0/4] virsh: use g_new0 (glib chronicles)
Posted by Ján Tomko 3 years, 5 months ago
Ján Tomko (4):
  virsh: do not add bools into size calculations
  virsh: use g_new0 instead of vsh[CM]alloc
  virsh: delete vsh[CM]alloc
  virsh: network-port: remove pointless comment

 tools/virsh-checkpoint.c     | 11 +++++++----
 tools/virsh-domain-monitor.c | 11 +++++------
 tools/virsh-domain.c         | 24 ++++++++++++------------
 tools/virsh-host.c           | 22 +++++++++++-----------
 tools/virsh-interface.c      |  8 ++++----
 tools/virsh-network.c        |  9 ++++-----
 tools/virsh-nodedev.c        | 12 ++++++------
 tools/virsh-nwfilter.c       |  8 ++++----
 tools/virsh-pool.c           |  8 ++++----
 tools/virsh-secret.c         |  6 +++---
 tools/virsh-snapshot.c       | 14 ++++++++------
 tools/virsh-volume.c         |  8 ++++----
 tools/vsh.c                  | 30 ++++++------------------------
 tools/vsh.h                  |  6 ------
 14 files changed, 78 insertions(+), 99 deletions(-)

-- 
2.26.2

Re: [libvirt PATCH 0/4] virsh: use g_new0 (glib chronicles)
Posted by Erik Skultety 3 years, 5 months ago
On Mon, Oct 05, 2020 at 07:02:35PM +0200, Ján Tomko wrote:
> Ján Tomko (4):
>   virsh: do not add bools into size calculations
>   virsh: use g_new0 instead of vsh[CM]alloc
>   virsh: delete vsh[CM]alloc
>   virsh: network-port: remove pointless comment

Reviewed-by: Erik Skultety <eskultet@redhat.com>