[PATCH 0/5] util: Turn virStorageSource into a virObject (blockdev-add saga)

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

 



In todays side story we witness the transmutation of virStorageSource
into a virObject.

Peter Krempa (5):
  util: Introduce function for allocating virStorageSource
  util: storage: Turn virStorageSource into a virObject
  util: alloc: Introduce VIR_AUTOUNREF macro
  util: Remove the AUTOPTR func for virStorageSource
  util: Replace virStorageSourceFree with virObjectUnref

 src/conf/domain_conf.c                | 20 +++----
 src/conf/snapshot_conf.c              |  6 +--
 src/conf/storage_conf.c               |  2 +-
 src/libvirt_private.syms              |  3 +-
 src/qemu/qemu_blockjob.c              | 10 ++--
 src/qemu/qemu_domain.c                |  8 +--
 src/qemu/qemu_driver.c                | 14 ++---
 src/qemu/qemu_hotplug.c               |  2 +-
 src/qemu/qemu_migration.c             |  8 +--
 src/storage/storage_backend_gluster.c |  4 +-
 src/storage/storage_backend_logical.c |  2 +-
 src/storage/storage_util.c            | 10 ++--
 src/util/viralloc.h                   | 10 ++++
 src/util/virobject.c                  | 13 +++++
 src/util/virobject.h                  |  3 ++
 src/util/virstoragefile.c             | 75 ++++++++++++++++++---------
 src/util/virstoragefile.h             |  5 +-
 tests/qemublocktest.c                 |  6 +--
 tests/virstoragetest.c                | 14 ++---
 19 files changed, 134 insertions(+), 81 deletions(-)

-- 
2.20.1


[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