block-coroutine-wrapper: Add no_co_wrapper_bdrv_rdlock functions
commite84c07bc73f63cd0251d9fd2c582ad051e27fb39
authorKevin Wolf <kwolf@redhat.com>
Fri, 29 Sep 2023 14:51:37 +0000 (29 16:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Oct 2023 14:31:33 +0000 (12 16:31 +0200)
treedf70b1813e5cf5b49790deb188e311a05ab596df
parent903df115aaa5b9455ffde2894002f3f4820868bd
block-coroutine-wrapper: Add no_co_wrapper_bdrv_rdlock functions

Add a new wrapper type for GRAPH_RDLOCK functions that should be called
from coroutine context.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230929145157.45443-3-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/block-common.h
scripts/block-coroutine-wrapper.py