summary refs log tree commit diff stats
path: root/include/hw/qdev-core.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-25 14:47:10 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-30 17:29:44 +0200
commit8dc8a60c9e52fa446a5135180592c0cd4213acfb (patch)
tree8cfa2a59b33658c1a077326c3b65831a51969c4b /include/hw/qdev-core.h
parent9102f2ebdb71809af1c5ee4a4a255927e3dabca4 (diff)
downloadfocaccia-qemu-8dc8a60c9e52fa446a5135180592c0cd4213acfb.tar.gz
focaccia-qemu-8dc8a60c9e52fa446a5135180592c0cd4213acfb.zip
block: Take AioContext lock in bdrv_open_driver()
bdrv_refresh_total_sectors() and bdrv_refresh_limits() expect to be
called under the AioContext lock of the node. Take the lock.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230525124713.401149-10-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions