[PATCH v2 0/3] Add 'label' arg to VIR_ENUM_IMPL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v1: https://www.redhat.com/archives/libvir-list/2019-April/msg00589.html

v2 changes:
    - First two patches applied
    - Turn on the error reporting, but only for label != NULL
    - Fill in label == NULL for all VIR_ENUM_IMPL calls
    - Patch #3 is added as an example conversion

Cole Robinson (3):
  util: enum: Add 'label' arg to virEnum*String
  util: enum: Add NULL 'label' arg VIR_ENUM_IMPL calls
  conf: Add virDomainVirtType enum error label

 docs/apibuild.py                  |  14 ++
 src/access/viraccessperm.c        |  20 +--
 src/bhyve/bhyve_driver.c          |   6 +-
 src/conf/capabilities.c           |   2 +-
 src/conf/cpu_conf.c               |  14 +-
 src/conf/device_conf.c            |   2 +-
 src/conf/domain_capabilities.c    |   2 +-
 src/conf/domain_conf.c            | 250 +++++++++++++++---------------
 src/conf/interface_conf.c         |   2 +-
 src/conf/netdev_vlan_conf.c       |   2 +-
 src/conf/network_conf.c           |  10 +-
 src/conf/node_device_conf.c       |   8 +-
 src/conf/numa_conf.c              |   6 +-
 src/conf/nwfilter_conf.c          |  14 +-
 src/conf/snapshot_conf.c          |   4 +-
 src/conf/storage_adapter_conf.c   |   2 +-
 src/conf/storage_conf.c           |  18 +--
 src/libxl/libxl_domain.c          |   2 +-
 src/libxl/libxl_driver.c          |   6 +-
 src/locking/lock_daemon.c         |   2 +-
 src/logging/log_daemon.c          |   2 +-
 src/lxc/lxc_domain.c              |   6 +-
 src/lxc/lxc_native.c              |   2 +-
 src/network/leaseshelper.c        |   2 +-
 src/qemu/qemu_agent.c             |   4 +-
 src/qemu/qemu_capabilities.c      |   7 +-
 src/qemu/qemu_command.c           |  18 +--
 src/qemu/qemu_domain.c            |   8 +-
 src/qemu/qemu_driver.c            |   4 +-
 src/qemu/qemu_firmware.c          |   6 +-
 src/qemu/qemu_migration.c         |   2 +-
 src/qemu/qemu_migration_cookie.c  |   2 +-
 src/qemu/qemu_migration_params.c  |   6 +-
 src/qemu/qemu_monitor.c           |   8 +-
 src/qemu/qemu_monitor_json.c      |   8 +-
 src/remote/remote_daemon.c        |   2 +-
 src/util/vircgroup.c              |   2 +-
 src/util/vircgroupbackend.c       |   2 +-
 src/util/vircgroupv1.c            |   2 +-
 src/util/vircgroupv2.c            |   2 +-
 src/util/virconf.c                |   2 +-
 src/util/virenum.c                |  25 ++-
 src/util/virenum.h                |  14 +-
 src/util/virerror.c               |   2 +-
 src/util/virfirewall.c            |   2 +-
 src/util/virfirewalld.c           |   4 +-
 src/util/virgic.c                 |   2 +-
 src/util/virhook.c                |  14 +-
 src/util/virkeycode.c             |   2 +-
 src/util/virlog.c                 |   2 +-
 src/util/virmdev.c                |   2 +-
 src/util/virnetdev.c              |   6 +-
 src/util/virnetdevmacvlan.c       |   2 +-
 src/util/virnetdevvportprofile.c  |   4 +-
 src/util/virpci.c                 |   6 +-
 src/util/virperf.c                |   2 +-
 src/util/virprocess.c             |   2 +-
 src/util/virresctrl.c             |   8 +-
 src/util/virsecret.c              |   2 +-
 src/util/virstorageencryption.c   |   4 +-
 src/util/virstoragefile.c         |  14 +-
 src/util/virsysinfo.c             |   2 +-
 src/util/virtypedparam.c          |   2 +-
 src/vmware/vmware_conf.c          |   2 +-
 src/vmx/vmx.c                     |   2 +-
 tools/virsh-domain-monitor.c      |  24 +--
 tools/virsh-domain.c              |  54 +++----
 tools/virsh-host.c                |   2 +-
 tools/virsh-network.c             |   8 +-
 tools/virsh-nodedev.c             |   2 +-
 tools/virsh-pool.c                |   4 +-
 tools/virsh-secret.c              |   2 +-
 tools/virsh-volume.c              |   4 +-
 tools/virt-admin.c                |   2 +-
 tools/virt-host-validate-common.c |   2 +-
 75 files changed, 364 insertions(+), 350 deletions(-)

-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux