[libvirt PATCH 0/6] Use more of GLib's g_str functions

Ján Tomko jtomko at redhat.com
Sun Aug 2 22:25:28 UTC 2020


Ján Tomko (6):
  virt-login-shell: correctly calculate string length
  conf: use g_strdupv instead of virStringListCopy
  util: remove virStringListCopy
  Use g_strfeev instead of virStringFreeList
  util: recommend g_strfreev instead of virStringListFree
  util: delete virStringListFree

 src/bhyve/bhyve_command.c              |  2 +-
 src/bhyve/bhyve_parse_command.c        | 10 ++--
 src/conf/domain_capabilities.c         |  8 +--
 src/conf/node_device_conf.c            |  2 +-
 src/cpu/cpu_arm.c                      |  2 +-
 src/cpu/cpu_ppc64.c                    |  2 +-
 src/libvirt_private.syms               |  1 -
 src/libxl/libxl_conf.c                 |  6 +--
 src/libxl/xen_common.c                 | 12 ++---
 src/libxl/xen_xl.c                     | 12 ++---
 src/libxl/xen_xm.c                     |  2 +-
 src/lxc/lxc_container.c                |  2 +-
 src/lxc/lxc_native.c                   | 20 ++++----
 src/qemu/qemu_agent.c                  |  4 +-
 src/qemu/qemu_capabilities.c           |  8 +--
 src/qemu/qemu_conf.c                   |  6 +--
 src/qemu/qemu_domain.c                 |  8 +--
 src/qemu/qemu_driver.c                 |  4 +-
 src/qemu/qemu_migration_params.c       |  2 +-
 src/qemu/qemu_monitor_json.c           | 14 +++---
 src/qemu/qemu_process.c                |  2 +-
 src/remote/remote_daemon_dispatch.c    |  2 +-
 src/remote/remote_driver.c             |  2 +-
 src/storage/storage_backend_rbd.c      |  2 +-
 src/storage/storage_backend_sheepdog.c |  2 +-
 src/storage/storage_backend_zfs.c      |  2 +-
 src/util/vircgroup.c                   |  4 +-
 src/util/vircgroupv2.c                 |  2 +-
 src/util/virconf.c                     |  2 +-
 src/util/virfile.c                     |  6 +--
 src/util/virfirmware.c                 |  4 +-
 src/util/virlog.c                      |  8 +--
 src/util/virmacmap.c                   |  2 +-
 src/util/virresctrl.c                  | 14 +++---
 src/util/virstring.c                   | 67 +++-----------------------
 src/util/virstring.h                   |  4 --
 src/util/viruri.c                      |  2 +-
 src/vbox/vbox_common.c                 | 10 ++--
 src/vbox/vbox_snapshot_conf.c          | 18 +++----
 src/vbox/vbox_tmpl.c                   |  2 +-
 src/vz/vz_sdk.c                        |  2 +-
 tests/qemumonitorjsontest.c            | 12 ++---
 tests/qemuxml2argvtest.c               |  2 +-
 tests/vboxsnapshotxmltest.c            |  2 +-
 tests/virconftest.c                    |  2 +-
 tests/virfiletest.c                    |  2 +-
 tests/virstringtest.c                  |  8 +--
 tools/virsh-checkpoint.c               |  2 +-
 tools/virsh-domain.c                   | 12 ++---
 tools/virsh-host.c                     | 10 ++--
 tools/virsh-nodedev.c                  |  6 +--
 tools/virsh-pool.c                     |  4 +-
 tools/virsh-snapshot.c                 |  4 +-
 tools/virt-login-shell-helper.c        |  8 +--
 tools/vsh.c                            | 14 +++---
 55 files changed, 155 insertions(+), 219 deletions(-)

-- 
2.26.2




More information about the libvir-list mailing list