job: Move single job finalisation to Job
This moves the finalisation of a single job from BlockJob to Job. Some part of this code depends on job transactions, and job transactions call this code, we introduce some temporary calls from Job functions to BlockJob ones. This will be fixed once transactions move to Job, too. Signed-off-by:Kevin Wolf <kwolf@redhat.com> Reviewed-by:
Max Reitz <mreitz@redhat.com>
Showing
- block/backup.c 11 additions, 11 deletionsblock/backup.c
- block/commit.c 1 addition, 1 deletionblock/commit.c
- block/mirror.c 1 addition, 1 deletionblock/mirror.c
- blockjob.c 25 additions, 117 deletionsblockjob.c
- include/block/blockjob.h 0 additions, 9 deletionsinclude/block/blockjob.h
- include/block/blockjob_int.h 0 additions, 36 deletionsinclude/block/blockjob_int.h
- include/qemu/job.h 52 additions, 1 deletioninclude/qemu/job.h
- job.c 98 additions, 2 deletionsjob.c
- qemu-img.c 1 addition, 1 deletionqemu-img.c
- tests/test-blockjob.c 5 additions, 5 deletionstests/test-blockjob.c
Loading
Please register or sign in to comment