Bug 689792

Summary: USB Passthrough device is not available for the guest OS
Product: Red Hat Enterprise Linux 6 Reporter: IBM Bug Proxy <bugproxy>
Component: qemu-kvmAssignee: Virtualization Maintenance <virt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: balkov, jkachuck, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 14:27:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 684385    

Description IBM Bug Proxy 2011-03-22 13:21:38 UTC
---Problem Description---
When guest OS is started using qemu-kvm command appended with "-usb usbdevice
host:<vendorid>:<productid>", the USB passthrough device is not made available to the guest OS.
Though qemu-kvm command starts guest OS without any errors, inside the guest OS, "lsusb" command is
not listing the passthrough device.

Guest OS : SLES11 SP1 64 bit
 
---uname output---
Linux hostname.in.ibm.com 2.6.32-118.el6.x86_64 #1 SMP Tue Feb 22 11:15:55 EST 2011 x86_64 x86_64
x86_64 GNU/Linux
 
Machine Type = HS22 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
 Steps:
   1. Started qemu-kvm command appending "-usb usbdevice host:<vendorid>:<productid>".
  command: /usr/libexec/qemu-kvm -hda ../images/SLES11-SP1-64.raw -m 512 -vnc :9 -usb usbdevice
host:04b3:4010 -net nic -net tap,script=../scripts/qemu-ifup

2. Once the guest is started,  logged in to the guest and run "lsusb". 
    It is not listing the passthrough device.
    
 
---KVM Component Data--- 
Userspace tool common name: qemu-kvm 
 
The userspace tool has the following bit modes: 64 bit 

Userspace rpm: qemu-kvm-0.12.1.2-2.148.el6.x86_64 

=Comment: #1=================================================

1.Server architecture(s) (please list all effected) (x86/POWER6/Z/etc.):  x86

2.Server type (9117-MMA/HS20/s390/etc.):  HS22

3.General component (desktop/kernel/base OS/dev tools/etc.): virsh

4.Other components involved (ixgbe/java/emulex/etc.): nope

5.Does the server have the latest GA firmware?  yep

6.Has the problem been shown to occur on more than one system?  yes

7.Is a tested patch available? nope
  If yes to the above, has it been approved upstream? 

8.What is the latest official Red Hat build on which this bug has been seen? 6.1 Alpha

Comment 2 Dor Laor 2011-03-23 14:27:10 UTC
According to 'Bug 620657 - (unsupported) Unsupported device uses need to be documented in release notes' we do not support USB hotplug. Closing as not a bug.
If you like to ask it as a feature please submit new RFE.