blockjob: add block_job_get_aio_context()
commit9f6bc648c40da61a50ea1f51048368faeea5d9a1
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 16 Jun 2016 16:56:25 +0000 (16 17:56 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 20 Jun 2016 13:25:41 +0000 (20 14:25 +0100)
treedfea544ae34692c3bd1418b67cf878520b7ab6ce
parentfc9c0a9c4b2c07cf2b8683f2617af584f14c93e7
blockjob: add block_job_get_aio_context()

Add a helper function to document why block jobs sometimes run in the
QEMU main loop and to avoid code duplication in a following patch.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1466096189-6477-5-git-send-email-stefanha@redhat.com
blockjob.c