diff options
author | Kevin Wolf | 2022-02-03 15:05:33 +0100 |
---|---|---|
committer | Kevin Wolf | 2022-02-11 09:44:16 +0100 |
commit | aba8205be0707b9d108e32254e186ba88107a869 (patch) | |
tree | 8bf1266a5df2ac9e32eb8facf5e98da779bd5bcc /include/hw/s390x/css.h | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20220208'... (diff) | |
download | qemu-aba8205be0707b9d108e32254e186ba88107a869.tar.gz qemu-aba8205be0707b9d108e32254e186ba88107a869.tar.xz qemu-aba8205be0707b9d108e32254e186ba88107a869.zip |
block: Lock AioContext for drain_end in blockdev-reopen
bdrv_subtree_drained_end() requires the caller to hold the AioContext
lock for the drained node. Not doing this for nodes outside of the main
AioContext leads to crashes when AIO_WAIT_WHILE() needs to wait and
tries to temporarily release the lock.
Fixes: 3908b7a8994fa5ef7a89aa58cd5a02fc58141592
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2046659
Reported-by: Qing Wang <qinwang@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20220203140534.36522-2-kwolf@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/hw/s390x/css.h')
0 files changed, 0 insertions, 0 deletions