Skip to content
Commit 8e09e201 authored by Fam Zheng's avatar Fam Zheng Committed by Michael Roth
Browse files

blockjob: Add block_job_yield()



This will unset busy flag and put coroutine to sleep, can be used to
wait for QMP complete/cancel.

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
(cherry picked from commit dc71ce45)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 520b3412
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment