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
V4:
https://listman.redhat.com/archives/libvir-list/2022-January/msg01262.html
Changes since V4:
* Replaced usage of "__LINE__" with "__COUNTER__"
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 | 26 ++++++++++++++++++++++++++
src/util/virthread.c | 15 +++++++++++++++
src/util/virthread.h | 31 +++++++++++++++++++++++++++++++
9 files changed, 104 insertions(+), 12 deletions(-)
--
2.31.1