Re: [Qemu-block] [PATCH v3 0/9] jobs: Job Exit Refactoring Pt 1

2018-08-31 Thread Max Reitz
On 2018-08-30 03:57, John Snow wrote: > This is part one of a two part series that refactors the exit logic > of jobs. > > Part one removes job_defer_to_main_loop. > Part two removes the job->exit() callback introduced in part one. > > It's redundant to have each job manage deferring to the main

[Qemu-block] [PATCH v3 0/9] jobs: Job Exit Refactoring Pt 1

2018-08-29 Thread John Snow
This is part one of a two part series that refactors the exit logic of jobs. Part one removes job_defer_to_main_loop. Part two removes the job->exit() callback introduced in part one. It's redundant to have each job manage deferring to the main loop itself. Unifying this makes sense from an API s