[PATCH 0/9] More GLib macro usage (glib chronicles)

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

 



Ján Tomko (9):
  util: xml: use g_auto directly for VIR_XPATH_NODE_AUTORESTORE
  virbuffer: use g_auto directly for virBuffer
  Use g_autofree instead of VIR_AUTOFREE
  Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC
  Use g_autoptr instead of VIR_AUTOPTR
  Define G_DEFINE_AUTOPTR_CLEANUP_FUNC for virDomainCheckpointDef
  Use g_autoptr instead of VIR_AUTOUNREF
  Delete virObjectAutoUnref
  Remove virautoclean.h

 src/bhyve/bhyve_conf.c                     |   2 +-
 src/conf/checkpoint_conf.c                 |  10 +-
 src/conf/checkpoint_conf.h                 |   1 +
 src/conf/domain_capabilities.h             |   3 +-
 src/conf/domain_conf.c                     | 858 ++++++++++-----------
 src/conf/domain_conf.h                     |   2 +-
 src/conf/interface_conf.c                  |   2 +-
 src/conf/network_conf.c                    |   6 +-
 src/conf/node_device_conf.c                |   2 +-
 src/conf/nwfilter_conf.c                   |   2 +-
 src/conf/secret_conf.c                     |   8 +-
 src/conf/secret_conf.h                     |   2 +-
 src/conf/snapshot_conf.c                   |   4 +-
 src/conf/storage_conf.c                    |  60 +-
 src/conf/storage_conf.h                    |   7 +-
 src/conf/virnetworkobj.c                   |  10 +-
 src/conf/virnetworkportdef.c               |  18 +-
 src/conf/virnetworkportdef.h               |   2 +-
 src/conf/virstorageobj.c                   |   4 +-
 src/cpu/cpu_x86.c                          |  12 +-
 src/driver.c                               |   4 +-
 src/esx/esx_driver.c                       |   2 +-
 src/esx/esx_storage_backend_vmfs.c         |   4 +-
 src/interface/interface_backend_netcf.c    |   2 +-
 src/interface/interface_backend_udev.c     |   2 +-
 src/libvirt-admin.c                        |   4 +-
 src/libvirt.c                              |   2 +-
 src/libvirt_private.syms                   |   1 -
 src/libxl/libxl_conf.c                     |   2 +-
 src/libxl/libxl_driver.c                   |   6 +-
 src/libxl/xen_common.c                     |  24 +-
 src/libxl/xen_xl.c                         |  14 +-
 src/libxl/xen_xm.c                         |  10 +-
 src/locking/lock_daemon.c                  |   2 +-
 src/locking/lock_daemon_config.c           |   2 +-
 src/locking/lock_driver_lockd.c            |   2 +-
 src/locking/lock_driver_sanlock.c          |   2 +-
 src/logging/log_daemon.c                   |   2 +-
 src/logging/log_daemon_config.c            |   2 +-
 src/lxc/lxc_conf.c                         |   2 +-
 src/lxc/lxc_native.c                       |  18 +-
 src/network/bridge_driver.c                |  12 +-
 src/node_device/node_device_hal.c          |   2 +-
 src/node_device/node_device_udev.c         |   2 +-
 src/phyp/phyp_driver.c                     |   4 +-
 src/qemu/qemu_agent.c                      |  16 +-
 src/qemu/qemu_block.c                      | 126 +--
 src/qemu/qemu_block.h                      |   4 +-
 src/qemu/qemu_blockjob.c                   |  26 +-
 src/qemu/qemu_capabilities.c               |  12 +-
 src/qemu/qemu_checkpoint.c                 |  22 +-
 src/qemu/qemu_command.c                    | 336 ++++----
 src/qemu/qemu_conf.c                       |  54 +-
 src/qemu/qemu_dbus.c                       |   2 +-
 src/qemu/qemu_dbus.h                       |   2 +-
 src/qemu/qemu_domain.c                     | 100 +--
 src/qemu/qemu_domain_address.c             |   6 +-
 src/qemu/qemu_driver.c                     |  58 +-
 src/qemu/qemu_extdevice.c                  |   4 +-
 src/qemu/qemu_firmware.c                   |  46 +-
 src/qemu/qemu_firmware.h                   |   3 +-
 src/qemu/qemu_hotplug.c                    | 154 ++--
 src/qemu/qemu_interface.c                  |   2 +-
 src/qemu/qemu_interop_config.c             |  18 +-
 src/qemu/qemu_migration.c                  |   8 +-
 src/qemu/qemu_migration_params.h           |   3 +-
 src/qemu/qemu_monitor.c                    |   4 +-
 src/qemu/qemu_monitor.h                    |   2 +-
 src/qemu/qemu_monitor_json.c               |  72 +-
 src/qemu/qemu_process.c                    |  10 +-
 src/qemu/qemu_qapi.c                       |   4 +-
 src/qemu/qemu_slirp.c                      |  40 +-
 src/qemu/qemu_slirp.h                      |   2 +-
 src/qemu/qemu_tpm.c                        |  10 +-
 src/qemu/qemu_vhost_user.c                 |  18 +-
 src/qemu/qemu_vhost_user.h                 |   3 +-
 src/qemu/qemu_vhost_user_gpu.c             |  22 +-
 src/remote/remote_daemon.c                 |   2 +-
 src/remote/remote_daemon_config.c          |   4 +-
 src/remote/remote_daemon_dispatch.c        |   8 +-
 src/remote/remote_driver.c                 |  42 +-
 src/secret/secret_driver.c                 |   4 +-
 src/security/security_selinux.c            |   2 +-
 src/security/security_util.c               |  36 +-
 src/security/virt-aa-helper.c              |   2 +-
 src/storage/storage_backend.c              |   2 +-
 src/storage/storage_backend_disk.c         |  20 +-
 src/storage/storage_backend_fs.c           |  16 +-
 src/storage/storage_backend_gluster.c      |  12 +-
 src/storage/storage_backend_iscsi.c        |  18 +-
 src/storage/storage_backend_iscsi_direct.c |  14 +-
 src/storage/storage_backend_logical.c      |  34 +-
 src/storage/storage_backend_mpath.c        |   4 +-
 src/storage/storage_backend_rbd.c          |  18 +-
 src/storage/storage_backend_scsi.c         |  14 +-
 src/storage/storage_backend_sheepdog.c     |  18 +-
 src/storage/storage_backend_vstorage.c     |  12 +-
 src/storage/storage_backend_zfs.c          |  20 +-
 src/storage/storage_driver.c               |  36 +-
 src/storage/storage_file_gluster.c         |   4 +-
 src/storage/storage_util.c                 | 106 +--
 src/test/test_driver.c                     |  62 +-
 src/util/Makefile.inc.am                   |   1 -
 src/util/iohelper.c                        |   2 +-
 src/util/virarptable.c                     |   4 +-
 src/util/viraudit.c                        |   2 +-
 src/util/virauth.c                         |  12 +-
 src/util/virauthconfig.c                   |   4 +-
 src/util/virauthconfig.h                   |   3 +-
 src/util/virautoclean.h                    |  89 ---
 src/util/virbitmap.c                       |   2 +-
 src/util/virbitmap.h                       |   3 +-
 src/util/virbuffer.c                       |   6 +-
 src/util/virbuffer.h                       |   3 +-
 src/util/vircgroup.c                       |  40 +-
 src/util/vircgroupv1.c                     | 108 +--
 src/util/vircgroupv2.c                     | 108 +--
 src/util/vircommand.c                      |  26 +-
 src/util/vircommand.h                      |   3 +-
 src/util/virconf.h                         |   3 +-
 src/util/virerror.c                        |   4 +-
 src/util/virerror.h                        |   3 +-
 src/util/vireventpoll.c                    |   2 +-
 src/util/virfcp.c                          |   4 +-
 src/util/virfile.c                         |  70 +-
 src/util/virfile.h                         |   3 +-
 src/util/virfilecache.c                    |   8 +-
 src/util/virfirewall.c                     |  16 +-
 src/util/virfirewall.h                     |   3 +-
 src/util/virfirewalld.c                    |   4 +-
 src/util/virfirmware.h                     |   2 +-
 src/util/virhash.h                         |   4 +-
 src/util/virhook.c                         |   6 +-
 src/util/virhostdev.c                      |  68 +-
 src/util/virhostmem.c                      |  12 +-
 src/util/viriptables.c                     |  20 +-
 src/util/viriscsi.c                        |  34 +-
 src/util/virjson.c                         |  18 +-
 src/util/virjson.h                         |   3 +-
 src/util/virkmod.c                         |   8 +-
 src/util/virlease.c                        |   8 +-
 src/util/virmacaddr.h                      |   3 +-
 src/util/virmdev.c                         |  20 +-
 src/util/virmdev.h                         |   5 +-
 src/util/virnetdev.c                       |   4 +-
 src/util/virnetdev.h                       |   3 +-
 src/util/virnetdevbridge.c                 |  16 +-
 src/util/virnetdevip.c                     |  56 +-
 src/util/virnetdevip.h                     |   5 +-
 src/util/virnetdevmacvlan.c                |  10 +-
 src/util/virnetdevopenvswitch.c            |  26 +-
 src/util/virnetdevtap.c                    |   6 +-
 src/util/virnetdevveth.c                   |  10 +-
 src/util/virnetdevvlan.h                   |   3 +-
 src/util/virnetlink.c                      |  28 +-
 src/util/virnetlink.h                      |   3 +-
 src/util/virnodesuspend.c                  |   4 +-
 src/util/virnuma.c                         |  28 +-
 src/util/virobject.c                       |  14 -
 src/util/virobject.h                       |  15 -
 src/util/virpci.c                          |  96 +--
 src/util/virpci.h                          |   7 +-
 src/util/virperf.c                         |   4 +-
 src/util/virperf.h                         |   3 +-
 src/util/virpidfile.c                      |  22 +-
 src/util/virprocess.c                      |  18 +-
 src/util/virqemu.c                         |   6 +-
 src/util/virresctrl.c                      |   2 +-
 src/util/virscsi.c                         |  22 +-
 src/util/virscsi.h                         |   3 +-
 src/util/virscsivhost.c                    |   2 +-
 src/util/virscsivhost.h                    |   3 +-
 src/util/virsocketaddr.c                   |   8 +-
 src/util/virsocketaddr.h                   |   3 +-
 src/util/virstoragefile.c                  |  80 +-
 src/util/virstoragefile.h                  |   3 +-
 src/util/virsystemd.h                      |   3 +-
 src/util/virtpm.c                          |   8 +-
 src/util/virtypedparam.h                   |   3 +-
 src/util/viruri.h                          |   3 +-
 src/util/virusb.c                          |   6 +-
 src/util/virusb.h                          |   3 +-
 src/util/virutil.c                         |   4 +-
 src/util/virxml.h                          |  11 +-
 src/vbox/vbox_common.c                     |   4 +-
 src/vbox/vbox_storage.c                    |   2 +-
 src/vmx/vmx.c                              |   2 +-
 src/vz/vz_driver.c                         |   2 +-
 tests/cputest.c                            |   4 +-
 tests/networkxml2firewalltest.c            |   4 +-
 tests/qemublocktest.c                      |  58 +-
 tests/qemucapabilitiestest.c               |   4 +-
 tests/qemucaps2xmltest.c                   |   4 +-
 tests/qemudomaincheckpointxml2xmltest.c    |   8 +-
 tests/qemudomainsnapshotxml2xmltest.c      |   2 +-
 tests/qemufirmwaretest.c                   |  14 +-
 tests/qemuhotplugtest.c                    |   2 +-
 tests/qemumonitorjsontest.c                |  88 +--
 tests/qemumonitortestutils.c               |  26 +-
 tests/qemumonitortestutils.h               |   3 +-
 tests/qemusecuritytest.c                   |  10 +-
 tests/qemuvhostusertest.c                  |  14 +-
 tests/storagebackendsheepdogtest.c         |  14 +-
 tests/storagepoolcapstest.c                |  10 +-
 tests/storagepoolxml2argvtest.c            |  10 +-
 tests/storagepoolxml2xmltest.c             |   8 +-
 tests/storagevolxml2argvtest.c             |  22 +-
 tests/storagevolxml2xmltest.c              |  12 +-
 tests/testutils.c                          |   4 +-
 tests/testutilsqemu.c                      |   2 +-
 tests/virbitmaptest.c                      |   6 +-
 tests/virbuftest.c                         |   6 +-
 tests/virconftest.c                        |  12 +-
 tests/virfilewrapper.c                     |  12 +-
 tests/virhostdevtest.c                     |   2 +-
 tests/virjsontest.c                        |  68 +-
 tests/virmockstathelpers.c                 |  16 +-
 tests/virnetdevopenvswitchtest.c           |   4 +-
 tests/virnetworkportxml2xmltest.c          |   2 +-
 tests/virpcimock.c                         |  56 +-
 tests/virstoragetest.c                     |  28 +-
 tests/virstorageutiltest.c                 |   4 +-
 tests/virsystemdtest.c                     |   4 +-
 tests/xlconfigtest.c                       |   4 +-
 tests/xmconfigtest.c                       |   4 +-
 tools/virsh-completer-domain.c             |  28 +-
 tools/virsh-completer-host.c               |  22 +-
 tools/virsh-completer.c                    |   2 +-
 tools/virsh-domain-monitor.c               |  10 +-
 tools/virsh-domain.c                       |  20 +-
 tools/virsh-network.c                      |   2 +-
 tools/virsh-pool.c                         |   2 +-
 tools/virsh-secret.c                       |   2 +-
 tools/virsh-util.h                         |   2 +-
 tools/virt-admin.c                         |   6 +-
 tools/virt-login-shell-helper.c            |   2 +-
 236 files changed, 2325 insertions(+), 2478 deletions(-)
 delete mode 100644 src/util/virautoclean.h

-- 
2.19.2

--
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