[libvirt] [PATCH v2 0/4] Get rid of VIR_AUTOPTR(virString)

Peter Krempa pkrempa at redhat.com
Tue Feb 26 15:48:22 UTC 2019


Peter Krempa (4):
  util: string: Introduce macro for automatic string lists
  util: string: Use VIR_AUTOSTRINGLIST instead of VIR_AUTOPTR(virString)
  util: string: Remove the 'virString' type
  util: alloc: Note that VIR_AUTOPTR/VIR_AUTOCLEAN must not be used with
    vectors

 src/libvirt_private.syms               |  1 +
 src/lxc/lxc_process.c                  |  2 +-
 src/qemu/qemu_conf.c                   |  8 ++++----
 src/storage/storage_backend_sheepdog.c |  4 ++--
 src/storage/storage_backend_zfs.c      | 10 +++++-----
 src/util/viralloc.h                    |  6 ++++++
 src/util/vircommand.c                  |  2 +-
 src/util/virfirewall.c                 |  2 +-
 src/util/virprocess.c                  |  2 +-
 src/util/virstoragefile.c              | 10 +++++-----
 src/util/virstring.c                   | 10 ++++++++++
 src/util/virstring.h                   | 12 +++++++++---
 src/xenconfig/xen_common.c             | 14 +++++++-------
 13 files changed, 53 insertions(+), 30 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list