Hide Forgot
Description of problem: use qemu-img to create a disk with decimal in size number failed. Version-Release number of selected component (if applicable): kernel: 2.6.18-300.el5 kvm: kvm-83-246.el5 kvm-qemu-img-83-246.el5 How reproducible: 100% Steps to Reproduce: 1.install a host with above kernel and kvm version 2.in host run: # qemu-img create -f qcow2 disk.qcow2 2.2G 3. Actual results: create disk failed. Expected results: create disk should be successfully. Additional info: 1.create raw disk also have this problem. 2.not use decimal disk size without this problem. eg # qemu-img create -f qcow2 disk.qcow2 22G 3.in RHEL6.2 host no this problem.
Decimal values for sizes are a new feature in qemu 0.11 and therefore not available in RHEL 5.