[libvirt PATCH 00/21] Remove VIR_{ALLOC, ALLOC_N, REALLOC_N}_QUIET macros.

Tim Wiederhake posted 21 patches 2 weeks ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200911114218.489636-1-twiederh@redhat.com
src/qemu/qemu_domain.c  |  4 ++--
src/qemu/qemu_process.c |  2 +-
src/rpc/virnetmessage.c |  4 ++--
src/util/viralloc.h     | 44 -----------------------------------------
src/util/virbitmap.c    | 10 ++--------
src/util/virdevmapper.c |  4 +---
src/util/virerror.c     | 30 ++++++++++++++--------------
src/util/virfile.c      | 15 +++++---------
src/util/virjson.c      |  4 ++--
src/util/virlog.c       | 24 ++++++++--------------
src/util/virthread.c    |  5 +----
tests/virconftest.c     | 29 ++++++++++-----------------
tests/virpcimock.c      | 24 ++++++++--------------
tools/vsh.c             | 10 ++++------
14 files changed, 61 insertions(+), 148 deletions(-)

[libvirt PATCH 00/21] Remove VIR_{ALLOC, ALLOC_N, REALLOC_N}_QUIET macros.

Posted by Tim Wiederhake 2 weeks ago
See also
  https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html
and
  https://www.redhat.com/archives/libvir-list/2020-September/msg00610.html

Tim Wiederhake (21):
  tests: Use glib memory functions in virpcimock.c
  rpc: Use glib memory functions in virNetMessageSaveError
  util: Use glib memory functions in virBitmapNewQuiet
  util: Use glib memory functions in virErrorCopyNew
  util: Use glib memory functions in virLastErrorObject
  util: Use glib memory functions in virSaveLastError
  util: Use glib memory functions in virLogFilterNew
  util: Use glib memory functions in virThreadCreateFull
  util: Remove VIR_ALLOC_QUIET
  tests: Use glib memory function in testConfRoundTrip
  util: Use glib memory functions in virDevMapperGetTargetsImpl
  util: Use glib memory functions in virJSONValueGetArrayAsBitmap
  util: Remove VIR_ALLOC_N_QUIET
  qemu: Use glib memory functions in qemuDomainMasterKeyReadFile
  qemu: Use glib memory functions in qemuDomainLogContextRead
  qemu: Use glib memory functions in qemuProcessReadLog
  tests: Use glib memory functions in add_fd
  tests: Use glib memory functions in pci_driver_new
  tools: Use glib memory functions in vshCompleterFilter
  util: Use glib memory functions in virFileGetXAttrQuiet
  util: Remove VIR_REALLOC_N_QUIET

 src/qemu/qemu_domain.c  |  4 ++--
 src/qemu/qemu_process.c |  2 +-
 src/rpc/virnetmessage.c |  4 ++--
 src/util/viralloc.h     | 44 -----------------------------------------
 src/util/virbitmap.c    | 10 ++--------
 src/util/virdevmapper.c |  4 +---
 src/util/virerror.c     | 30 ++++++++++++++--------------
 src/util/virfile.c      | 15 +++++---------
 src/util/virjson.c      |  4 ++--
 src/util/virlog.c       | 24 ++++++++--------------
 src/util/virthread.c    |  5 +----
 tests/virconftest.c     | 29 ++++++++++-----------------
 tests/virpcimock.c      | 24 ++++++++--------------
 tools/vsh.c             | 10 ++++------
 14 files changed, 61 insertions(+), 148 deletions(-)

-- 
2.26.2


Re: [libvirt PATCH 00/21] Remove VIR_{ALLOC, ALLOC_N, REALLOC_N}_QUIET macros.

Posted by Ján Tomko 2 weeks ago
On a Friday in 2020, Tim Wiederhake wrote:
>See also
>  https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html
>and
>  https://www.redhat.com/archives/libvir-list/2020-September/msg00610.html
>
>Tim Wiederhake (21):
>  util: Use glib memory functions in virErrorCopyNew
>  util: Use glib memory functions in virLastErrorObject
>  util: Remove VIR_ALLOC_QUIET
>  tests: Use glib memory function in testConfRoundTrip
>  util: Use glib memory functions in virJSONValueGetArrayAsBitmap
>  util: Remove VIR_ALLOC_N_QUIET

I have pushed all the paches except these ^^^

>  qemu: Use glib memory functions in qemuDomainMasterKeyReadFile
>  qemu: Use glib memory functions in qemuDomainLogContextRead
>  qemu: Use glib memory functions in qemuProcessReadLog
>

These could have been squashed into one commit:
    qemu: remove use of VIR_REALLOC_N_QUIET

Jano

> src/qemu/qemu_domain.c  |  4 ++--
> src/qemu/qemu_process.c |  2 +-
> src/rpc/virnetmessage.c |  4 ++--
> src/util/viralloc.h     | 44 -----------------------------------------
> src/util/virbitmap.c    | 10 ++--------
> src/util/virdevmapper.c |  4 +---
> src/util/virerror.c     | 30 ++++++++++++++--------------
> src/util/virfile.c      | 15 +++++---------
> src/util/virjson.c      |  4 ++--
> src/util/virlog.c       | 24 ++++++++--------------
> src/util/virthread.c    |  5 +----
> tests/virconftest.c     | 29 ++++++++++-----------------
> tests/virpcimock.c      | 24 ++++++++--------------
> tools/vsh.c             | 10 ++++------
> 14 files changed, 61 insertions(+), 148 deletions(-)
>
>-- 
>2.26.2
>
>