Re: [Qemu-devel] [PATCH v5 09/16] tests/test-blockjob: remove exit callback

2018-09-06 Thread Jeff Cody
On Thu, Sep 06, 2018 at 09:02:18AM -0400, 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-o

[Qemu-devel] [PATCH v5 09/16] tests/test-blockjob: remove exit callback

2018-09-06 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 Reviewed-by: Max Reitz --- tests/test-blockjob.c |