summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorKevin Wolf2020-12-03 18:23:10 +0100
committerKevin Wolf2020-12-11 17:52:40 +0100
commit8089eab2bd5fb160b038e64e14cf7ffb3f37091e (patch)
tree1b2531bb62869445e4013f964e7041319ac0709e /block
parentblock: Simplify qmp_block_resize() error paths (diff)
downloadqemu-8089eab2bd5fb160b038e64e14cf7ffb3f37091e.tar.gz
qemu-8089eab2bd5fb160b038e64e14cf7ffb3f37091e.tar.xz
qemu-8089eab2bd5fb160b038e64e14cf7ffb3f37091e.zip
block: Fix locking in qmp_block_resize()
The drain functions assume that we hold the AioContext lock of the drained block node. Make sure to actually take the lock. Cc: qemu-stable@nongnu.org Fixes: eb94b81a94bce112e6b206df846c1551aaf6cab6 Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20201203172311.68232-3-kwolf@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions