summary refs log tree commit diff stats
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2025-05-30 17:11:11 +0200
committerKevin Wolf <kwolf@redhat.com>2025-07-14 15:42:05 +0200
commit6717dc307523c9e57b0d6c7dd302eab764c19265 (patch)
treec5861935a2a847d14b032bc5275a985e09eb1247 /rust/qemu-api-macros/src
parent0a0474b065b97e9a25c2723bde87afbc77ba4bd9 (diff)
downloadfocaccia-qemu-6717dc307523c9e57b0d6c7dd302eab764c19265.tar.gz
focaccia-qemu-6717dc307523c9e57b0d6c7dd302eab764c19265.zip
block: mark bdrv_reopen_queue() and bdrv_reopen_multiple() as GRAPH_UNLOCKED
The function bdrv_reopen_queue() can call bdrv_drain_all_begin(),
which must be called with the graph unlocked.

The function bdrv_reopen_multiple() calls bdrv_reopen_prepare() which
must be called with the graph unlocked.

To mark bdrv_reopen_queue() as GRAPH_UNLOCKED, it is necessary to make
the locked section in reopen_backing_file() shorter.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-35-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions