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

Peter Krempa posted 5 patches 5 years, 2 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1550234476.git.pkrempa@redhat.com
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(-)
[libvirt] [PATCH 0/5] util: Turn virStorageSource into a virObject (blockdev-add saga)
Posted by Peter Krempa 5 years, 2 months ago
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

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