Re: [Qemu-devel] [PATCH v2 08/13] tests/test-blockjob: remove exit callback

2018-08-27 Thread Max Reitz
On 2018-08-24 00:22, John Snow wrote: > We remove the exit callback and the completed boolean along with it. > We can simulate it just fine by waiting for the job to defer to the > main loop, and then giving it one final kick to get the main loop > portion to run. > > Signed-off-by: John Snow >

[Qemu-devel] [PATCH v2 08/13] tests/test-blockjob: remove exit callback

2018-08-23 Thread John Snow
We remove the exit callback and the completed boolean along with it. We can simulate it just fine by waiting for the job to defer to the main loop, and then giving it one final kick to get the main loop portion to run. Signed-off-by: John Snow --- tests/test-blockjob.c | 16 ++-- 1