On 9/27/19 3:05 PM, Peter Krempa wrote:
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(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal