Re: [Qemu-devel] [RFC PATCH 01/33] blockjob: Wrappers for progress counter access

2018-04-24 Thread Eric Blake
On 04/24/2018 10:24 AM, Kevin Wolf wrote: > Block job drivers are not expected to mess with the internal of the s/internal/internals/ > 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

[Qemu-devel] [RFC PATCH 01/33] blockjob: Wrappers for progress counter access

2018-04-24 Thread Kevin Wolf
Block job drivers are not expected to mess with the internal 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 --- include/block/blockjob.h | 19 +++