]> git.proxmox.com Git - mirror_qemu.git/commit - blockjob.c
job: Move single job finalisation to Job
authorKevin Wolf <kwolf@redhat.com>
Thu, 19 Apr 2018 15:30:16 +0000 (17:30 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 23 May 2018 12:30:50 +0000 (14:30 +0200)
commit4ad351819b974d724e926fd23cdd66bec3c9768e
tree308f62a669a00a138090cb33e329f0232fdd5baf
parent139a9f020d49e9f863e0d46fd3d0b440dfb3b9d7
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>
block/backup.c
block/commit.c
block/mirror.c
blockjob.c
include/block/blockjob.h
include/block/blockjob_int.h
include/qemu/job.h
job.c
qemu-img.c
tests/test-blockjob.c