]> git.proxmox.com Git - mirror_qemu.git/commit - blockjob.c
blockjob: Wrappers for progress counter access
authorKevin Wolf <kwolf@redhat.com>
Thu, 18 Jan 2018 17:08:22 +0000 (18:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 May 2018 14:11:49 +0000 (16:11 +0200)
commit05df8a6a2b4e36e8d69de2130e616d5ac28e8837
tree69a1ee332e3b77767f2df4ced3066b08e9baae7b
parent37aa19b63c46d933f1e4ea944cfccee54e2caf4a
blockjob: Wrappers for progress counter access

Block job drivers are not expected to mess with the internals of the
BlockJob object, so provide wrapper functions for one of the cases where
they still do it: Updating the progress counter.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
block/backup.c
block/commit.c
block/mirror.c
block/stream.c
blockjob.c
include/block/blockjob.h