Bug 1145904

Summary: qemu-kvm will give strange hint when add bps twice for a drive
Product: Red Hat Enterprise Linux 7 Reporter: Jun Li <juli>
Component: qemu-kvmAssignee: Ademar Reis <areis>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 7.1CC: chayang, hhuang, juzhang, michen, qzhang, rbalakri, virt-bugs, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1145586 Environment:
Last Closed: 2014-09-24 14:30:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1145586    
Bug Blocks:    

Comment 1 Jun Li 2014-09-24 06:02:44 UTC
Version of components:
qemu-kvm-1.5.3-72.el7.x86_64

CLI:
# /usr/libexec/qemu-kvm -drive file=/home/win2012-64-virtio.qcow2,if=none,id=img,bps=0,bps=0 -device virtio-blk-pci,drive=img,id=sys-img -monitor stdio

Results:
qemu-kvm: -drive file=/home/win2012-64-virtio.qcow2,if=none,id=img,bps=0,bps=0: could not open disk image /home/win2012-64-virtio.qcow2: Block format 'qcow2' used by device 'img' doesn't support the option 'bps'

Comment 3 Ademar Reis 2014-09-24 14:30:16 UTC
Since RHEL7 supports QEMU via libvirt, this shouldn't affect users, so I'm closing this bug.

(please correct me if you can reproduce it via standard libvirt calls).