[libvirt] [PATCH 0/6] qemu_conf: Use more VIR_AUTO*()

Michal Privoznik mprivozn at redhat.com
Mon Sep 9 16:00:21 UTC 2019


Michal Prívozník (6):
  qemu_conf.c: Fix naming of *AddRemove* functions
  qemu_conf: Drop a pair of needless 'cleanup' labels
  qemu_conf: Use more of VIR_AUTOFREE()
  qemu_conf: Use more of VIR_AUTOUNREF()
  lxcParseConfigString: Don't return success if post parse callback
    fails
  lib: Define and use autofree for virConfPtr

 src/bhyve/bhyve_conf.c            |  10 +-
 src/libvirt-admin.c               |   3 +-
 src/libvirt.c                     |   4 +-
 src/libxl/libxl_conf.c            |  22 +-
 src/libxl/libxl_driver.c          |   8 +-
 src/libxl/xen_xl.c                |  33 ++-
 src/libxl/xen_xm.c                |  19 +-
 src/locking/lock_daemon_config.c  |   7 +-
 src/locking/lock_driver_lockd.c   |  18 +-
 src/locking/lock_driver_sanlock.c |   3 +-
 src/logging/log_daemon_config.c   |   7 +-
 src/lxc/lxc_conf.c                |  16 +-
 src/lxc/lxc_native.c              |  17 +-
 src/qemu/qemu_conf.c              | 360 ++++++++++++------------------
 src/remote/remote_daemon_config.c |  14 +-
 src/security/security_selinux.c   |   4 +-
 src/util/virconf.h                |   2 +
 src/vmx/vmx.c                     |   3 +-
 tests/virconftest.c               |  93 ++++----
 tests/xlconfigtest.c              |   8 +-
 tests/xmconfigtest.c              |   8 +-
 tools/virt-login-shell-helper.c   |   3 +-
 22 files changed, 254 insertions(+), 408 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list