aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool/backend
diff options
context:
space:
mode:
authorFiona Ebner <f.ebner@proxmox.com>2025-05-30 17:11:12 +0200
committerKevin Wolf <kwolf@redhat.com>2025-07-14 15:42:07 +0200
commite2d9cc57905eaabd2b212de2f77993935a7fc271 (patch)
tree80eeeaeee143a5ce11d0dbbcfacbdae842f8d469 /scripts/tracetool/backend
parent6717dc307523c9e57b0d6c7dd302eab764c19265 (diff)
downloadqemu-e2d9cc57905eaabd2b212de2f77993935a7fc271.zip
qemu-e2d9cc57905eaabd2b212de2f77993935a7fc271.tar.gz
qemu-e2d9cc57905eaabd2b212de2f77993935a7fc271.tar.bz2
block: mark bdrv_inactivate() as GRAPH_RDLOCK and move drain to callers
The function bdrv_inactivate() calls bdrv_drain_all_begin(), which needs to be called with the graph unlocked, so either bdrv_inactivate() should be marked as GRAPH_UNLOCKED or the drain needs to be moved to the callers. The caller in qmp_blockdev_set_active() requires that the locked section covers bdrv_find_node() too, so the latter alternative is chosen. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20250530151125.955508-36-f.ebner@proxmox.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend')
0 files changed, 0 insertions, 0 deletions