Description of problem: It'd be helpful if an error is thrown on stdout when compression( -c) and preallocation are used *together* while using 'qemu-img' to create either new qcow2 images or converting existing raw to qcow2 Using 'Compression' and 'preallocation' combined is an invalid operation anyway. Version-Release number of selected component (if applicable): ------------------------------ [root@moon ~]# rpm -q qemu-img qemu-img-0.15.0-5.fc16.x86_64 ------------------------------ How reproducible: All the time Steps to Reproduce: Try to convert (or create a new one) an existing raw -> qcow2 using compression and preallocation as below: # qemu-img convert -c -f raw -O qcow2 -o preallocation=metadata /var/lib/libvirt/images/honeycomb.dsk /var/lib/libvirt/images/honeycombq.qcow2 Actual results: Image gets converted just fine. But the disk image doesn't boot successfully into the OS Expected results: Throw a meaningful error on the stdout along the lines of: 'using compression and preallocation is invalid' ..
(In reply to comment #0) > Using 'Compression' and 'preallocation' combined is an invalid operation > anyway. Just pre-allocating for metadata but compressing for the rest of the image can be a useful operation, so it's not entirely invalid. However, since that's not done today, throwing an error for now makes sense.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '16'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 16's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 16 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
With latest qemu git: # ./qemu-img convert -c -f raw -O qcow2 -o preallocation=metadata foo.raw foo.qcow2 qemu-img: Compression and preallocation not supported at the same time So just closing as UPSTREAM