]> git.proxmox.com Git - mirror_qemu.git/commit
block-coroutine-wrapper: Add no_co_wrapper_bdrv_wrlock functions
authorKevin Wolf <kwolf@redhat.com>
Mon, 11 Sep 2023 09:46:05 +0000 (11:46 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Sep 2023 15:46:01 +0000 (17:46 +0200)
commitde90329889b4769c7d3ef519d103b7bcf454d6c7
tree31ddaff5c61d52ceac4ef0aec017047dddc32dd5
parentac2ae233a0c266676195c0374195ec57197076cf
block-coroutine-wrapper: Add no_co_wrapper_bdrv_wrlock functions

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

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230911094620.45040-7-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/block-common.h
scripts/block-coroutine-wrapper.py