diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-04-24 16:55:04 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:51 +0200 |
commit | 198c49cc8d81e8eb0df3749d395599895c3a3a76 (patch) | |
tree | de592e39154d0bbe94b9fafaf95af99c3ed2d14d /include/block | |
parent | b3b5299d58bce4366c647af40374e6b063f371eb (diff) | |
download | qemu-198c49cc8d81e8eb0df3749d395599895c3a3a76.zip qemu-198c49cc8d81e8eb0df3749d395599895c3a3a76.tar.gz qemu-198c49cc8d81e8eb0df3749d395599895c3a3a76.tar.bz2 |
job: Add job_yield()
This moves block_job_yield() to the Job layer.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/blockjob_int.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/block/blockjob_int.h b/include/block/blockjob_int.h index 7df07b2..806ac64 100644 --- a/include/block/blockjob_int.h +++ b/include/block/blockjob_int.h @@ -108,14 +108,6 @@ void block_job_user_resume(Job *job); void block_job_drain(Job *job); /** - * block_job_yield: - * @job: The job that calls the function. - * - * Yield the block job coroutine. - */ -void block_job_yield(BlockJob *job); - -/** * block_job_ratelimit_get_delay: * * Calculate and return delay for the next request in ns. See the documentation |