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

Michal Privoznik mprivozn at redhat.com
Mon Sep 30 14:22:36 UTC 2019


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 at redhat.com>

Michal




More information about the libvir-list mailing list