[libvirt PATCH v3 0/2] Automatic mutex management - part 4

Tim Wiederhake twiederh at redhat.com
Thu Mar 17 15:50:46 UTC 2022


Use the recently implemented VIR_LOCK_GUARD and VIR_WITH_MUTEX_LOCK_GUARD
to simplify mutex management.

V1: https://listman.redhat.com/archives/libvir-list/2022-March/229144.html
V2: https://listman.redhat.com/archives/libvir-list/2022-March/229329.html

Changes since V2:
* Rewrote virQEMUDriverGetCapabilities, thanks Michal!
* Added VIR_WITH_MUTEX_LOCK_GUARD to nwfilterConnectNumOfNWFilters
* Other patches were reviewed and pushed.

Tim Wiederhake (2):
  nwfilter_driver: Use automatic mutex management
  qemu_conf: Use automatic memory management

 src/nwfilter/nwfilter_driver.c | 94 +++++++++++++++-------------------
 src/qemu/qemu_conf.c           | 63 ++++++++---------------
 2 files changed, 61 insertions(+), 96 deletions(-)

-- 
2.31.1



More information about the libvir-list mailing list