Re: [Qemu-devel] [PATCH V7 2/4] block: Add check infinite loop in bdrv_img_create()

2013-11-12 Thread Fam Zheng
On 2013年11月13日 14:32, Fam Zheng wrote: On 2013年11月13日 10:39, Xu Wang wrote: Backing file loop should be checked before qemu-img create command execution. If loop is found, qemu-img create should be stopped and an error printed. Signed-off-by: Xu Wang --- block.c | 9 + 1 file change

Re: [Qemu-devel] [PATCH V7 2/4] block: Add check infinite loop in bdrv_img_create()

2013-11-12 Thread Fam Zheng
On 2013年11月13日 10:39, Xu Wang wrote: Backing file loop should be checked before qemu-img create command execution. If loop is found, qemu-img create should be stopped and an error printed. Signed-off-by: Xu Wang --- block.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff

[Qemu-devel] [PATCH V7 2/4] block: Add check infinite loop in bdrv_img_create()

2013-11-12 Thread Xu Wang
Backing file loop should be checked before qemu-img create command execution. If loop is found, qemu-img create should be stopped and an error printed. Signed-off-by: Xu Wang --- block.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/block.c b/block.c index 3c43179.