Re: [Qemu-devel] [PATCH V5 6/6] block: Add infinite loop check in drive_init()

2013-08-02 Thread Eric Blake
On 08/02/2013 03:02 AM, Xu Wang wrote: > From: Xu Wang > > Backing file should be checked if there is a loop in it during image > boot. Becase if there is loop qemu would no response for a long time s/Becase/Because/ > and segment fault occured. So this patch would check backing file s/occured

[Qemu-devel] [PATCH V5 6/6] block: Add infinite loop check in drive_init()

2013-08-02 Thread Xu Wang
From: Xu Wang Backing file should be checked if there is a loop in it during image boot. Becase if there is loop qemu would no response for a long time and segment fault occured. So this patch would check backing file chain if there is loop in it before open image. Signed-off-by: Xu Wang --- b