Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1179992

Summary: qemu should reject pass-through the same host usb stick twice instead of 'libusbx: error'
Product: Red Hat Enterprise Linux 7 Reporter: Sibiao Luo <sluo>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: chayang, hdegoede, juzhang, knoel, kraxel, michen, qzhang, rbalakri, virt-bugs, virt-maint, xfu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1179045 Environment:
Last Closed: 2015-04-30 09:36:00 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: 1179045    
Bug Blocks:    

Comment 1 Sibiao Luo 2015-01-08 02:15:35 UTC
host info:
# uname -r && rpm -q qemu-kvm
3.10.0-220.el7.x86_64
qemu-kvm-1.5.3-85.el7.x86_64

e.g:...-device nec-usb-xhci,id=xhci -device usb-host,hostbus=001,hostaddr=003,id=hostdev0,bus=xhci.0 -device usb-host,hostbus=001,hostaddr=003,id=hostdev1,bus=xhci.0
Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) (/usr/libexec/qemu-kvm:7303): SpiceWorker-Warning **: red_worker.c:11411:dev_destroy_primary_surface: double destroy of primary surface
(/usr/libexec/qemu-kvm:7303): SpiceWorker-Warning **: red_worker.c:9679:red_create_surface: condition `surface->context.canvas' reached

(qemu) c
(qemu) libusb_detach_kernel_driver: -5 [NOT_FOUND]
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 1.444000 ms, bitrate 11441340782 bps (10911.312849 Mbps)
inputs_connect: inputs channel client create
red_dispatcher_set_cursor_peer: 
libusb_set_configuration: -6 [BUSY]
libusbx: error [submit_control_transfer] submiturb failed error -1 errno=16
libusbx: error [submit_bulk_transfer] submiturb failed error -1 errno=16
libusbx: error [op_release_interface] release interface failed, error -1 errno 22

(qemu) info usb
  Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
  Device 1.1, Port 1, Speed 480 Mb/s, Product 
  Device 1.2, Port 2, Speed 480 Mb/s, Product 
(qemu) info usbhost 
  Bus 1, Addr 3, Port 6, Speed 480 Mb/s
    Class 00: USB device 1516:6221, 
  Bus 4, Addr 3, Port 1.1, Speed 1.5 Mb/s
    Class 00: USB device 0557:2213, CS-1734A V4.2.414
(qemu) 

Best Regards,
sluo

Comment 3 Gerd Hoffmann 2015-04-30 09:36:00 UTC
No rfe fixes for qemu-kvm, sorry.