Re: [Qemu-devel] [PATCH] vmdk: Fix integer overflow in offset calculation

2014-09-14 Thread Fam Zheng
On Sat, 09/13 20:01, Max Reitz wrote: > On 12.09.2014 11:51, Fam Zheng wrote: > >This fixes the bug introduced by commit c6ac36e (vmdk: Optimize cluster > >allocation). > > > >$ ~/build/master/qemu-io /stor/vm/arch.vmdk -c 'write 2G 1k' > >write failed: Invalid argument > > > >Reported-by: Mark Cav

Re: [Qemu-devel] [PATCH] vmdk: Fix integer overflow in offset calculation

2014-09-13 Thread Max Reitz
On 12.09.2014 11:51, Fam Zheng wrote: This fixes the bug introduced by commit c6ac36e (vmdk: Optimize cluster allocation). $ ~/build/master/qemu-io /stor/vm/arch.vmdk -c 'write 2G 1k' write failed: Invalid argument Reported-by: Mark Cave-Ayland Signed-off-by: Fam Zheng --- block/vmdk.c

[Qemu-devel] [PATCH] vmdk: Fix integer overflow in offset calculation

2014-09-12 Thread Fam Zheng
This fixes the bug introduced by commit c6ac36e (vmdk: Optimize cluster allocation). $ ~/build/master/qemu-io /stor/vm/arch.vmdk -c 'write 2G 1k' write failed: Invalid argument Reported-by: Mark Cave-Ayland Signed-off-by: Fam Zheng --- block/vmdk.c | 2 +- tests/qemu-iotests/059