Re: [Qemu-devel] [PATCH v2 13/40] job: Move coroutine and related code to Job

2018-05-18 Thread John Snow
On 05/18/2018 09:20 AM, Kevin Wolf wrote: > This commit moves some core functions for dealing with the job coroutine > from BlockJob to Job. This includes primarily entering the coroutine > (both for the first and reentering) and yielding explicitly and at pause > points. > > Signed-off-by: Kevi

[Qemu-devel] [PATCH v2 13/40] job: Move coroutine and related code to Job

2018-05-18 Thread Kevin Wolf
This commit moves some core functions for dealing with the job coroutine from BlockJob to Job. This includes primarily entering the coroutine (both for the first and reentering) and yielding explicitly and at pause points. Signed-off-by: Kevin Wolf --- include/block/blockjob.h | 40