graphic: 0.497 device: 0.451 files: 0.415 semantic: 0.405 network: 0.353 socket: 0.331 user-level: 0.306 performance: 0.289 architecture: 0.234 ppc: 0.232 register: 0.215 debug: 0.203 vnc: 0.201 permissions: 0.190 boot: 0.183 x86: 0.182 PID: 0.178 kernel: 0.175 i386: 0.175 mistranslation: 0.151 risc-v: 0.142 arm: 0.133 TCG: 0.128 virtual: 0.120 hypervisor: 0.114 peripherals: 0.109 VMM: 0.107 KVM: 0.087 assembly: 0.045 qed leaked clusters There are example of two QED files which AFAIK does not have errors both. But qemu-img check say that one of them has 1 leaked cluster. I wrote my own tool and it does not find any error. Both files attached, as well as debug output from my program. Both files are about 4G in size after unpacking. Unpack with tar -S to handle sparse files. And also, I know, that QED is deprecated, but anyway, seems qemu-img has bug. Thanks for reporting this. QED is not widely used and its features have been incorporated into qcow2, QEMU's native image format. Since there is no development effort behind QED it is unlikely that this bug will be addressed. Patches are always welcome though! I think, this bug also can be triggered in qcow2. Unfortunately it is not so easy for me to find roots of the bug. The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now. If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience. This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'expired' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/264