[libvirt] [PATCH 0/9] Remove remaining usage of VIR_STR(N)DUP (glib chronicles)

Ján Tomko jtomko at redhat.com
Tue Nov 12 17:02:08 UTC 2019


Almost.

Patch 8/9 depends on Jirka removing VIR_STRNDUP in
[PATCH v3 04/52] conf: Drop nameLen parameter from virDomainCapsCPUModelsAdd
https://www.redhat.com/archives/libvir-list/2019-November/msg00068.html

Ján Tomko (9):
  Remove VIR_STRDUP usage that snuck in
  Remove VIR_STRNDUP usage that passes -1
  Remove VIR_STRNDUP usage that subtracts from a non-NULL pointer
  Remove VIR_STRNDUP usage with checked pointers
  Remove VIR_STRNDUP usage with subtraction
  Remove the rest of VIR_STRNDUP
  tests: delete tests for VIR_STR(N)DUP
  util: remove VIR_STRDUP and VIR_STRNDUP
  docs: hacking: document removal of VIR_STR(N)DUP

 docs/hacking.html.in                   |  10 +-
 src/bhyve/bhyve_parse_command.c        |  44 +++--
 src/conf/nwfilter_conf.c               |   4 +-
 src/conf/nwfilter_params.c             |   6 +-
 src/interface/interface_backend_udev.c |   8 +-
 src/libvirt_private.syms               |   2 -
 src/libxl/xen_common.c                 |  44 +++--
 src/libxl/xen_xl.c                     |   6 +-
 src/libxl/xen_xm.c                     |   9 +-
 src/lxc/lxc_driver.c                   |   3 +-
 src/qemu/qemu_domain.c                 |   9 +-
 src/qemu/qemu_driver.c                 |   3 +-
 src/qemu/qemu_monitor_json.c           |  11 +-
 src/remote/remote_driver.c             |   6 +-
 src/rpc/virnetlibsshsession.c          |   7 +-
 src/storage/storage_backend_logical.c  |   7 +-
 src/util/vircgroupv1.c                 |   5 +-
 src/util/vircommand.c                  |   5 +-
 src/util/virconf.c                     |  24 +--
 src/util/viriscsi.c                    |   3 +-
 src/util/virjson.c                     |  11 +-
 src/util/virkeyfile.c                  |   9 +-
 src/util/virsocketaddr.c               |   5 +-
 src/util/virstoragefile.c              |   6 +-
 src/util/virstring.c                   |  56 +-----
 src/util/virstring.h                   |  69 -------
 src/util/virsysinfo.c                  | 244 ++++++++++++-------------
 src/vmware/vmware_conf.c               |   6 +-
 tests/virstringtest.c                  | 136 --------------
 tools/vsh.c                            |   5 +-
 30 files changed, 218 insertions(+), 545 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list