summaryrefslogtreecommitdiffstats
path: root/qapi/block-core.json
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-11-19 15:19:44 +0100
committerKevin Wolf2014-12-10 10:25:30 +0100
commite3442099a2794925dfbe83711cd204caf80eae60 (patch)
tree32e3772050fd618e7665ae4f4b981c61ec5de027 /qapi/block-core.json
parentblockdev: check for BLOCK_OP_TYPE_INTERNAL_SNAPSHOT_DELETE (diff)
downloadqemu-e3442099a2794925dfbe83711cd204caf80eae60.tar.gz
qemu-e3442099a2794925dfbe83711cd204caf80eae60.tar.xz
qemu-e3442099a2794925dfbe83711cd204caf80eae60.zip
blockdev: acquire AioContext in eject, change, and block_passwd
By acquiring the AioContext we avoid race conditions with the dataplane thread which may also be accessing the BlockDriverState. Fix up eject, change, and block_passwd in a single patch because qmp_eject() and qmp_change_blockdev() both call eject_device(). Also fix block_passwd while we're tackling a command that takes a block encryption password. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi/block-core.json')
0 files changed, 0 insertions, 0 deletions