On 2018-05-09 18:26, Kevin Wolf wrote: > While we already moved the state related to job pausing to Job, the > functions to do were still BlockJob only. This commit moves them over to > Job. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > include/block/blockjob.h | 32 ------------------- > include/block/blockjob_int.h | 7 +++++ > include/qemu/job.h | 37 ++++++++++++++++++++++ > block/backup.c | 1 + > block/commit.c | 1 + > block/mirror.c | 2 ++ > block/stream.c | 1 + > blockdev.c | 6 ++-- > blockjob.c | 73 > ++++++++++---------------------------------- > job.c | 51 +++++++++++++++++++++++++++++++ > tests/test-bdrv-drain.c | 1 + > tests/test-blockjob-txn.c | 1 + > tests/test-blockjob.c | 6 ++-- > 13 files changed, 125 insertions(+), 94 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature