summary refs log tree commit diff stats
path: root/mailinglist/output_launchpad/1357440
diff options
context:
space:
mode:
Diffstat (limited to 'mailinglist/output_launchpad/1357440')
-rw-r--r--mailinglist/output_launchpad/135744037
1 files changed, 37 insertions, 0 deletions
diff --git a/mailinglist/output_launchpad/1357440 b/mailinglist/output_launchpad/1357440
new file mode 100644
index 00000000..a0324f18
--- /dev/null
+++ b/mailinglist/output_launchpad/1357440
@@ -0,0 +1,37 @@
+qemu-img: Assert for 'amend' command and the fuzzed image
+
+'qemu-img amend' failed with the assert on the fuzzed image.
+
+Sequence:
+ 1. Unpack the attached archive, make a copy of test.img
+ 2. Put copy.img and backing_img.vdi in the same directory
+ 3. Execute
+   qemu-img amend -o compat=0.10 -f qcow2 copy.img
+
+Result: qemu-img was killed by SIGIOT with the reason:
+
+qemu-img: block/qcow2-cluster.c:1598: expand_zero_clusters_in_l1: Assertion `(cluster_index >= 0) && (cluster_index < *nb_clusters)' failed.
+
+qemu.git HEAD 2d591ce2aeebf
+
+
+
+Hi,
+
+This issue should be fixed by my "[PATCH v3 0/7] block/qcow2: Improve zero cluster expansion" series.
+
+However, there are similar issues in qemu, so we'll probably need a function to quickly mark an image corrupt instead of throwing these assertions.
+
+Max
+
+Hi,
+
+This issue has been fixed in master (af3ff19b48f0bbf3a8bd35c47460358e8c6ae5e5, 2.2.0-rc2):
+
+$ ./qemu-img amend -o compat=0.10 -f qcow2 copy.img
+qemu-img: Error while amending options: File too large
+
+Thanks for your report,
+
+Max
+