On Tue, Sep 23, 2014 at 09:56:21AM +0800, 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 <mark.cave-ayl...@ilande.co.uk> > Reviewed-by: Max Reitz <mre...@redhat.com> > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > v5: Fix group file and output reference. (Max) > v4: Fix typo in file header: 1014 -> 2014. > v3: A new case 105 instead of embedding in 005. (Max) > --- > block/vmdk.c | 2 +- > tests/qemu-iotests/105 | 70 > ++++++++++++++++++++++++++++++++++++++++++++++ > tests/qemu-iotests/105.out | 21 ++++++++++++++ > tests/qemu-iotests/group | 1 + > 4 files changed, 93 insertions(+), 1 deletion(-) > create mode 100755 tests/qemu-iotests/105 > create mode 100644 tests/qemu-iotests/105.out
Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan
pgp9faHmafX0k.pgp
Description: PGP signature