[libvirt] [PATCH 0/6] Introduce more NULLSTR macros

Ján Tomko jtomko at redhat.com
Tue Feb 12 16:40:34 UTC 2019


Instead of using EMPTY_?STR with various meanings,
use a family of NULLSTR_.+ macros

Ján Tomko (6):
  internal: introduce a family of NULLSTR macros
  tools: use NULLSTR_MINUS
  Remove EMPTYSTR macro
  Remove EMPTY_STR macro
  Use NULLSTR_EMPTY
  Use NULLSTR_EMPTY even more

 src/datatypes.c                         |  2 +-
 src/interface/interface_backend_netcf.c | 42 ++++++++++++-------------
 src/internal.h                          | 14 +++++++--
 src/libvirt-admin.c                     |  2 +-
 src/libvirt.c                           |  2 +-
 src/lxc/lxc_controller.c                |  2 +-
 src/nwfilter/nwfilter_dhcpsnoop.c       |  2 +-
 src/qemu/qemu_command.c                 | 12 +++----
 src/qemu/qemu_interface.c               |  2 +-
 src/qemu/qemu_migration_params.c        |  2 +-
 src/qemu/qemu_monitor_json.c            |  2 +-
 src/qemu/qemu_process.c                 |  4 +--
 src/util/vircgroupv1.c                  |  2 +-
 src/util/vircgroupv2.c                  |  2 +-
 src/util/virlease.c                     | 15 +++------
 src/util/virnetdevvportprofile.c        |  4 +--
 src/util/virnuma.c                      |  4 +--
 src/util/virstoragefile.c               |  2 +-
 src/util/virsystemd.c                   |  4 +--
 src/util/viruri.c                       |  2 +-
 src/xenconfig/xen_sxpr.c                | 18 ++++-------
 tools/virsh-domain-monitor.c            |  6 ++--
 tools/virsh-domain.c                    |  2 +-
 tools/virsh-network.c                   | 10 +++---
 tools/virsh-snapshot.c                  |  2 +-
 tools/virt-admin.c                      |  4 +--
 26 files changed, 80 insertions(+), 85 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list