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
d1319b0 vmdk: Fix integer overflow in offset calculation
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(-)
Upstream: git.qemu.org