Re: [Qemu-devel] [PATCH v2 09/13] jobs: remove .exit callback

2018-08-27 Thread Max Reitz
On 2018-08-24 00:22, John Snow wrote: > Now that all of the jobs use the component finalization callbacks, > there's no use for the heavy-hammer .exit callback anymore. > > job_exit becomes a glorified type shim so that we can call > job_completed from aio_bh_schedule_oneshot. > > Move these

[Qemu-devel] [PATCH v2 09/13] jobs: remove .exit callback

2018-08-23 Thread John Snow
Now that all of the jobs use the component finalization callbacks, there's no use for the heavy-hammer .exit callback anymore. job_exit becomes a glorified type shim so that we can call job_completed from aio_bh_schedule_oneshot. Move these three functions down into job.c to eliminate a forward