commit | 69691e72708603592b1618f1a68d2a3f07db853d | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Tue Oct 21 12:03:51 2014 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Mon Nov 03 11:41:49 2014 +0000 |
tree | 82c76077ae8726439c3f77f6a6a2f91ac8577cd8 | |
parent | 3d948cdf3760b52238038626a7ffa7d30913060b [diff] |
blockdev: acquire AioContext in do_qmp_query_block_jobs_one() Make sure that query-block-jobs acquires the BlockDriverState AioContext so that the blockjob isn't running in another thread while we access its state. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Message-id: 1413889440-32577-3-git-send-email-stefanha@redhat.com