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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux