[Qemu-devel] [PATCH 1/2] qemu-img: Fix division by zero for zero size images

2012-10-12 Thread Kevin Wolf
Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-img.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..849eb41 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -674,7 +674,7 @@ static int img_convert(int argc,

Re: [Qemu-devel] [PATCH 1/2] qemu-img: Fix division by zero for zero size images

2012-10-12 Thread Paolo Bonzini
Il 12/10/2012 14:31, Kevin Wolf ha scritto: Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-img.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index f17f187..849eb41 100644 --- a/qemu-img.c +++ b/qemu-img.c