summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-23 09:56:21 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-10-03 10:30:33 +0100
commitd1319b077a4bd980ca1b8a167b02b519330dd26b (patch)
tree4f1619aa32207583f2942fa058bc49078b1cff73 /tests/qemu-iotests/group
parentfbf28a4328123b3259d100eedc0e6f5b7f8bf186 (diff)
downloadhqemu-d1319b077a4bd980ca1b8a167b02b519330dd26b.zip
hqemu-d1319b077a4bd980ca1b8a167b02b519330dd26b.tar.gz
vmdk: Fix integer overflow in offset calculation
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-ayland@ilande.co.uk> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-id: 1411437381-11234-1-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index 622685e..b230996 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -105,3 +105,4 @@
101 rw auto quick
103 rw auto quick
104 rw auto
+105 rw auto quick
OpenPOWER on IntegriCloud