V1:
https://listman.redhat.com/archives/libvir-list/2021-August/msg00823.html
V2:
https://listman.redhat.com/archives/libvir-list/2021-September/msg00249.html
V3:
https://listman.redhat.com/archives/libvir-list/2021-September/msg00964.html
Changes since V3:
* Remove not strictly necessary heap allocations from virLockGuard
Regards,
Tim
Tim Wiederhake (9):
internal: Add CONCAT macro
virthread: Introduce virLockGuard
virthread: Introduce VIR_WITH_MUTEX_LOCK_GUARD
virobject: Introduce virObjectLockGuard
virobject: Introduce VIR_WITH_OBJECT_LOCK_GUARD
virChrdevFDStreamCloseCb: Use virLockGuardLock
virChrdevFree: Use VIR_WITH_MUTEX_LOCK
bhyveAutostartDomain: Use virObjectLockGuard
lxcDomainDetachDeviceHostdevUSBLive: Use VIR_WITH_OBJECT_LOCK_GUARD
src/bhyve/bhyve_driver.c | 4 ++--
src/conf/virchrdev.c | 12 +++++-------
src/internal.h | 3 +++
src/libvirt_private.syms | 3 +++
src/lxc/lxc_driver.c | 6 +++---
src/util/virobject.c | 16 ++++++++++++++++
src/util/virobject.h | 24 ++++++++++++++++++++++++
src/util/virthread.c | 15 +++++++++++++++
src/util/virthread.h | 30 ++++++++++++++++++++++++++++++
9 files changed, 101 insertions(+), 12 deletions(-)
--
2.31.1