When 'qemu-img convert' is called to read/write a 'raw' image and the source is not flushed to disk it will corrupt the output image. The was noticed in the context of openstack but isn't limited to that. More details are available from: https://bugs.launchpad.net/qemu/+bug/1368815 Please add the following 2 patches: http://git.qemu.org/?p=qemu.git;a=commit;h=38c4d0aea3e1264c86e282d99560330adf2b6e25 http://git.qemu.org/?p=qemu.git;a=commit;h=7c15903789953ead14a417882657d52dc0c19a24 or update the qemu source to at least 2.2.0-rc0
Thank you for reporting this. This is now fixed in versions 2.1.2-r2, 2.2.0. Version 2.1.2-r2 will get fast stabilized due to bugs #531666, #529030, #528922. Therefore, I close *qemu-2.1.2-r2 (14 Dec 2014) 14 Dec 2014; Matthias Maier <tamiko@gentoo.org> +qemu-2.1.2-r2.ebuild: backport fixes for bugs #530498, #531666 (CVE-2014-8106), #529030 (CVE-2014-7840), #528922 (528922)