Re: [Qemu-devel] [PATCH 02/42] blockjob: Wrappers for progress counter access

2018-05-14 Thread John Snow
On 05/09/2018 12:25 PM, Kevin Wolf wrote: > 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 > Reviewed-by: Eric Blake

Re: [Qemu-devel] [PATCH 02/42] blockjob: Wrappers for progress counter access

2018-05-14 Thread Kevin Wolf
Am 12.05.2018 um 00:12 hat Max Reitz geschrieben: > On 2018-05-09 18:25, Kevin Wolf wrote: > > 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. > >

Re: [Qemu-devel] [PATCH 02/42] blockjob: Wrappers for progress counter access

2018-05-11 Thread Max Reitz
On 2018-05-09 18:25, Kevin Wolf wrote: > 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 > Reviewed-by: Eric Blake > --

[Qemu-devel] [PATCH 02/42] blockjob: Wrappers for progress counter access

2018-05-09 Thread Kevin Wolf
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 Reviewed-by: Eric Blake --- include/block/blockjob.h | 19 +++