On 2018-05-09 18:26, Kevin Wolf wrote: > This moves the .complete callback that tells a READY job to complete > from BlockJobDriver to JobDriver. The wrapper function job_complete() > doesn't require anything block job specific any more and can be moved > to Job. > > Signed-off-by: Kevin Wolf > --- > include/block/blockjob.h | 10 ---------- > include/block/blockjob_int.h | 6 ------ > include/qemu/job.h | 8 ++++++++ > block/mirror.c | 10 +++++----- > blockdev.c | 2 +- > blockjob.c | 23 +++++------------------ > job.c | 16 ++++++++++++++++ > tests/test-bdrv-drain.c | 6 +++--- > tests/test-blockjob.c | 10 +++++----- > 9 files changed, 43 insertions(+), 48 deletions(-) Reviewed-by: Max Reitz