Bug 1217326

Summary: qemu-kvm should quit when usb-host hit speed mismatch
Product: Red Hat Enterprise Linux 6 Reporter: mazhang <mazhang>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 6.7CC: bsarathy, hhuang, juli, juzhang, knoel, kraxel, michen, mkenneth, qzhang, rbalakri, virt-bugs, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1163046 Environment:
Last Closed: 2015-04-30 15:44:20 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: 1163046, 1179045    
Bug Blocks: 1163048    

Comment 1 mazhang 2015-04-30 06:37:36 UTC
Hit this problem on rhel6.7.

Host:
qemu-img-0.12.1.2-2.469.el6.x86_64
gpxe-roms-qemu-0.9.7-6.14.el6.noarch
qemu-kvm-debuginfo-0.12.1.2-2.469.el6.x86_64
qemu-kvm-tools-0.12.1.2-2.469.el6.x86_64
qemu-kvm-0.12.1.2-2.469.el6.x86_64
2.6.32-556.el6.x86_64

# /usr/libexec/qemu-kvm -monitor stdio -device ich9-usb-ehci1,id=ehci0 -device usb-host,hostbus=1,hostaddr=31,id=usb-mouse,bus=ehci0.0 -qmp tcp::8888,server,nowait
VNC server running on `::1:5900'
husb: open device 1.31
husb: grabbed usb device 1.31
qemu-kvm: Warning: speed mismatch trying to attach usb device USB Optical Mouse to bus ehci0.0

QEMU 0.12.1 monitor - type 'help' for more information
(qemu) husb: open device 1.31
husb: grabbed usb device 1.31
qemu-kvm: Warning: speed mismatch trying to attach usb device USB Optical Mouse to bus ehci0.0

husb: open device 1.31
husb: grabbed usb device 1.31
qemu-kvm: Warning: speed mismatch trying to attach usb device USB Optical Mouse to bus ehci0.0

Comment 3 Gerd Hoffmann 2015-04-30 15:44:20 UTC
Not going to be fixed in RHEL-6, we don't have the error handling infrastructure needed.  Simply exiting unconditinally isn't going to fly because one can hotplug usb devices.