summary refs log tree commit diff stats
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2025-05-30 17:11:03 +0200
committerKevin Wolf <kwolf@redhat.com>2025-07-14 15:41:38 +0200
commit47bc2ed6f6a8eb637ede90c0545bca082b68379f (patch)
tree9da5b95153d6bf7e7ba6eca3460482e4b421b624 /rust/qemu-api-macros
parent9918b2e95ed55680e5b2016149dd51610c698611 (diff)
downloadfocaccia-qemu-47bc2ed6f6a8eb637ede90c0545bca082b68379f.tar.gz
focaccia-qemu-47bc2ed6f6a8eb637ede90c0545bca082b68379f.zip
block/commit: switch to bdrv_set_backing_hd_drained() variant
This is in preparation to mark bdrv_set_backing_hd() as
GRAPH_UNLOCKED.

Switch to using the bdrv_set_backing_hd_drained() variant. For the
first pair of calls to avoid draining and locking twice in a row
within the individual calls. For the third call, so that the drained
and locked section can also cover bdrv_cow_bs().

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-27-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')
0 files changed, 0 insertions, 0 deletions