Re: [PATCH 0/2] Mechanical conversion to QEMU_LOCK_GUARD

Zhang Chen <[email protected]> Mon, 25 May 2026 19:45:29 +0800
Newsgroups org.nongnu.qemu-trivial,org.nongnu.qemu-devel
Message-ID <CAK3tnvJ8acuHzp4WoQ87SqYJ36+Oc30ESYT+yrgNZgU+fCfv3w@mail.gmail.com>
On Fri, May 22, 2026 at 4:07 PM Evgeny Kolmakov
<[email protected]> wrote:
>
> This trivial series replaces manual qemu_mutex_(un)lock() calls
> with the safer QEMU_LOCK_GUARD() macro in
>   net/colo-compare.c: colo_notify_compares_event(),
>   block/io.c: bdrv_co_get_self_request().
>
> Evgeny Kolmakov (2):
>   net/colo-compare: Use QEMU_LOCK_GUARD to simplify mutex handling
>   block/io: Use QEMU_LOCK_GUARD to simplify mutex handling
>
>  block/io.c         | 4 +---
>  net/colo-compare.c | 8 ++------
>  2 files changed, 3 insertions(+), 9 deletions(-)
>

LGTM.
For this series:
Reviewed-by: Zhang Chen <[email protected]>

> --
> 2.43.0
>