Description of problem:
Version-Release number of selected component (if applicable):
host info:
# uname -r && rpm -q qemu-kvm
2.6.32-544.el6.x86_64
qemu-kvm-0.12.1.2-2.458.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1.# qemu-img create -f qcow2 -o cluster_size=500 foo.qcow2 1G
Formatting 'foo.qcow2', fmt=qcow2 size=1073741824 encryption=off cluster_size=500
Cluster size must be a power of two between 512 and 2048k
foo.qcow2: error while creating qcow2: Invalid argument
2.
3.
Actual results:
Expected results:
# qemu-img create -f qcow2 -o cluster_size=500 foo.qcow2 1G
Formatting 'foo.qcow2', fmt=qcow2 size=1073741824 encryption=off cluster_size=500 lazy_refcounts=off
qemu-img: foo.qcow2: Cluster size must be a power of two between 512 and 2048k
Additional info:
What you put there as the expected result seems to be the RHEL 7 output, right?
I'll happily agree that the RHEL 7 output with everything in once line is nicer,
but why would the RHEL 6 output (in two lines) be wrong?