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

Peter Krempa posted 4 patches 4 years, 6 months ago
Test syntax-check passed
Failed in applying to current master (apply log)
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(-)
[libvirt] [PATCH 0/4] Automatic lockable object unlocking
Posted by Peter Krempa 4 years, 6 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/4] Automatic lockable object unlocking
Posted by Michal Privoznik 4 years, 5 months ago
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@redhat.com>

Michal

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