Good advice, thank you, Max.
On 2017/6/16 21:27, Max Reitz wrote: > On 2017-06-15 08:47, sochin.jiang wrote: >> From: "sochin.jiang" <sochin.ji...@huawei.com> >> >> img_commit could fall into an infinite loop calling run_block_job() if >> its blockjob fails on any I/O error, fix this already known problem. >> >> Signed-off-by: sochin.jiang <sochin.ji...@huawei.com> >> --- >> blockjob.c | 4 ++-- >> include/block/blockjob.h | 18 ++++++++++++++++++ >> qemu-img.c | 20 +++++++++++++------- >> 3 files changed, 33 insertions(+), 9 deletions(-) > Thanks! I've applied the patch to my block branch: > > https://github.com/XanClic/qemu/commits/block > > PS: In the future, please change the subject prefix to "PATCH v2" (etc.) > for updated versions of a patch. > > Max >