On 2018-05-09 18:26, Kevin Wolf wrote: > Since we introduced an explicit status to block job, BlockJob.completed > is redundant because it can be derived from the status. Remove the field > from BlockJob and add a function to derive it from the status at the Job > level. > > Signed-off-by: Kevin Wolf > --- > include/block/blockjob.h | 3 --- > include/qemu/job.h | 3 +++ > blockjob.c | 16 +++++++--------- > job.c | 22 ++++++++++++++++++++++ > qemu-img.c | 4 ++-- > 5 files changed, 34 insertions(+), 14 deletions(-) Reviewed-by: Max Reitz