aboutsummaryrefslogtreecommitdiff
path: root/block/qed.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2017-04-10 20:16:18 +0800
committerFam Zheng <famz@redhat.com>2017-04-11 20:07:15 +0800
commit324ec3e4f26e0a2a422478db4b9992f8aad3bde4 (patch)
treed5afe9c6606b3f8dca60b28a61f51d3cafa1ee6e /block/qed.h
parentaef4278c5a835c555ffe065f9e480190fd076675 (diff)
qemu-io-cmds: Use bdrv_coroutine_enter
qemu_coroutine_create associates @co to qemu_aio_context but we poll blk's context below. If the coroutine yields, it may never get resumed again. Use bdrv_coroutine_enter to make sure we are starting the I/O on the right context. Signed-off-by: Fam Zheng <famz@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qed.h')
0 files changed, 0 insertions, 0 deletions