diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-09 17:56:45 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-09 17:56:46 +0000 |
commit | f075c89f0a9cb31daf38892371d2822177505706 (patch) | |
tree | 72296f7ce1446b3809c749a2e15f4eb76f1aa61f /include/block/blockjob.h | |
parent | 84c0781103dcbe9b5e5433ba16fbeb55d69d6cb7 (diff) | |
parent | 9dcf8ecd9e74804aa1687e5688386001a1f3f89f (diff) | |
download | qemu-f075c89f0a9cb31daf38892371d2822177505706.zip |
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
# gpg: Signature made Tue 09 Feb 2016 15:11:25 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>"
* remotes/stefanha/tags/block-pull-request:
block: add missing call to bdrv_drain_recurse
blockjob: Fix hang in block_job_finish_sync
iov: avoid memcpy for "simple" iov_from_buf/iov_to_buf
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/block/blockjob.h')
-rw-r--r-- | include/block/blockjob.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/block/blockjob.h b/include/block/blockjob.h index d84ccd8d2c..8bedc4936c 100644 --- a/include/block/blockjob.h +++ b/include/block/blockjob.h @@ -130,6 +130,11 @@ struct BlockJob { */ bool ready; + /** + * Set to true when the job has deferred work to the main loop. + */ + bool deferred_to_main_loop; + /** Status that is published by the query-block-jobs QMP API */ BlockDeviceIoStatus iostatus; |