[libvirt] [PATCH 0/4] Automatic lockable object unlocking

Peter Krempa pkrempa at redhat.com
Fri Sep 27 13:05:12 UTC 2019


A spin-off from the refactors to checkpoints where Eric suggested that
we might want to replace virDomainObjEndAPI. See patch 2 for the
implementation and patch 3 for example use.

Peter Krempa (4):
  util: object: Note that VIR_AUTOUNREF variables must have the
    reference
  util: object: Add VIR_AUTOUNLOCK and VIR_AUTORELEASE
  qemu: driver: Convert qemuDomainGetInfo to use VIR_AUTORELEASE
  qemu: Don't repeat virDomainObjEndAPI in qemuDomainBlockPull

 src/libvirt_private.syms |  2 ++
 src/qemu/qemu_driver.c   | 29 +++++++++++------------------
 src/util/virobject.c     | 29 +++++++++++++++++++++++++++++
 src/util/virobject.h     | 34 +++++++++++++++++++++++++++++++++-
 4 files changed, 75 insertions(+), 19 deletions(-)

-- 
2.21.0




More information about the libvir-list mailing list