Re: [Qemu-devel] [PATCH v2 09/13] block/backup: remove yield_and_check

2018-02-07 Thread Max Reitz
On 2018-01-19 21:58, John Snow wrote: > This is a respin of the same functionality as mirror_throttle, > so trash this and replace it with the generic version. > > yield_and_check returned true if canceled, false otherwise. > block_job_relax returns -ECANCELED if canceled, 0 otherwise. > > Signed

[Qemu-devel] [PATCH v2 09/13] block/backup: remove yield_and_check

2018-01-19 Thread John Snow
This is a respin of the same functionality as mirror_throttle, so trash this and replace it with the generic version. yield_and_check returned true if canceled, false otherwise. block_job_relax returns -ECANCELED if canceled, 0 otherwise. Signed-off-by: John Snow --- block/backup.c | 20 ---