[libvirt PATCH 0/7] Replace VIR_ALLOC and VIR_FREE in src/cpu/*.

Tim Wiederhake posted 7 patches 3 years, 6 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200910112925.118651-1-twiederh@redhat.com
src/cpu/cpu.c           |  6 ++---
src/cpu/cpu_map.c       |  6 ++---
src/cpu/cpu_ppc64.c     | 59 +++++++++++++++--------------------------
src/cpu/cpu_x86.c       | 10 +++----
src/qemu/qemu_domain.c  |  4 +--
src/qemu/qemu_process.c |  2 +-
src/rpc/virnetmessage.c |  2 +-
src/util/viralloc.h     | 48 ---------------------------------
src/util/virbitmap.c    |  4 +--
src/util/virdevmapper.c |  2 +-
src/util/virerror.c     |  6 ++---
src/util/virfile.c      |  2 +-
src/util/virjson.c      |  2 +-
src/util/virlog.c       |  4 +--
src/util/virthread.c    |  2 +-
tests/virconftest.c     |  2 +-
tests/virfilewrapper.c  |  4 +--
tests/virpcimock.c      | 19 +++++++------
tools/vsh.c             |  2 +-
19 files changed, 59 insertions(+), 127 deletions(-)
[libvirt PATCH 0/7] Replace VIR_ALLOC and VIR_FREE in src/cpu/*.
Posted by Tim Wiederhake 3 years, 6 months ago
This series furthers the transition from VIR_ALLOC, VIR_FREE, etc to glib fun=
ctions and
removes the "_QUIET" variants of VIR_{ALLOC,ALLOC_N,REALLOC_N,APPEND_ELEMENT}=
 that by
now are aliases to their non-quiet counterparts.

Tim Wiederhake (7):
  util: alloc: Remove VIR_ALLOC_QUIET
  util: alloc: Remove VIR_ALLOC_N_QUIET
  util: alloc: Remove VIR_REALLOC_N_QUIET
  util: alloc: Remove VIR_APPEND_ELEMENT_QUIET
  cpu: Replace VIR_ALLOC with g_new0
  cpu: Replace VIR_ALLOC_N with g_new0
  cpu: Replace VIR_FREE with g_free

 src/cpu/cpu.c           |  6 ++---
 src/cpu/cpu_map.c       |  6 ++---
 src/cpu/cpu_ppc64.c     | 59 +++++++++++++++--------------------------
 src/cpu/cpu_x86.c       | 10 +++----
 src/qemu/qemu_domain.c  |  4 +--
 src/qemu/qemu_process.c |  2 +-
 src/rpc/virnetmessage.c |  2 +-
 src/util/viralloc.h     | 48 ---------------------------------
 src/util/virbitmap.c    |  4 +--
 src/util/virdevmapper.c |  2 +-
 src/util/virerror.c     |  6 ++---
 src/util/virfile.c      |  2 +-
 src/util/virjson.c      |  2 +-
 src/util/virlog.c       |  4 +--
 src/util/virthread.c    |  2 +-
 tests/virconftest.c     |  2 +-
 tests/virfilewrapper.c  |  4 +--
 tests/virpcimock.c      | 19 +++++++------
 tools/vsh.c             |  2 +-
 19 files changed, 59 insertions(+), 127 deletions(-)

--=20
2.26.2