aboutsummaryrefslogtreecommitdiff
path: root/blockdev.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2022-11-18 18:41:01 +0100
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:42 +0100
commit2e117866d7c96cc17e84cd2946fee1bf3292d814 (patch)
tree1c5988e611ca4dad29ee2ae00d13fd87143d0194 /blockdev.c
parentc7bc05f78ab31fb02fc9635f60b9bd22efc8d121 (diff)
downloadqemu-2e117866d7c96cc17e84cd2946fee1bf3292d814.zip
qemu-2e117866d7c96cc17e84cd2946fee1bf3292d814.tar.gz
qemu-2e117866d7c96cc17e84cd2946fee1bf3292d814.tar.bz2
block: Fix locking for bdrv_reopen_queue_child()
Callers don't agree whether bdrv_reopen_queue_child() should be called with the AioContext lock held or not. Standardise on holding the lock (as done by QMP blockdev-reopen and the replication block driver) and fix bdrv_reopen() to do the same. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221118174110.55183-7-kwolf@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions