<div dir="ltr">On Tue, Mar 7, 2023, 00:59 Martin Kletzander <<a href="mailto:mkletzan@redhat.com">mkletzan@redhat.com</a>> wrote:<br>> Good catch, we can make it even slicker with:<br>><br>>    VIR_LOCK_GUARD lock = virLockGuardLock(&priv->lock);<br>><br>> and rely on automatic unlock at the return.  Either way (let me know if<br>> you're OK with the proposed change):<br><br>Thanks for the review; I'll look at amending the patch to do this. (This<br>patch was originally written for a version of libvirt where this macro<br>did not yet exist!)<br><br>Thanks,<br>Mike<div dir="ltr" class="gmail_signature"></div></div>