| Summary: | "info usb" at qemu monitor not listing virtual usb devices | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | IBM Bug Proxy <bugproxy> |
| Component: | qemu-kvm | Assignee: | Gerd Hoffmann <kraxel> |
| Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | 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-05-30 10:13:08 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: | 559201, 580954, 684953 | ||
We'll support this through QMP once the command is implemented. ------- Comment From vahegde1.ibm.com 2011-03-30 05:01 EDT------- Hi Dor / Red Hat , (In reply to comment #6) > We'll support this through QMP once the command is implemented. When is QMP support is expected ? Thanks Vasant This could be a bug in 'info usb' which could be fixed soon in upstream, but as Dor said, query-usb doesn't exist in QMP yet. We could try it for RHEL6.2, but I'm not sure we have capacity. It's a bit more realistic for RHEL7.0 I guess. Not reproducable with qemu-kvm-0.12.1.2-2.160.el6.x86_64
Host monitor:
(qemu) info usb
Device 0.2, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
Guest shell:
[root@localhost ~]# lsusb
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ emulated tablet
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Works as expected.
------- Comment From vahegde1.ibm.com 2011-06-01 07:31 EDT------- Hi Red Hat, (In reply to comment #9) > Not reproducable with qemu-kvm-0.12.1.2-2.160.el6.x86_64 > Works as expected. Thanks for the update. Thanks Vasant |
---Problem Description--- At the qemu monitor, "info usb" is not listing virtual usb devices available for the guest, even when "lsusb" in guest OS lists some usb devices. ---uname output--- Linux hostname.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. Start a guest OS using qemu-kvm, appending the option "-usb" for enabling usb support in qemu. Eg: /usr/libexec/qemu-kvm -hda ../images/SLES11-SP1-64.raw -m 512 -vnc :9 -usb usbdevice tablet 2. Login to the guest OS and using "lsusb" list out the usbdevices available. Atleast one device will be listed. 3. Go to qemu monitor and give the command "info usb". No usb devices get displayed. ---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 Userspace tool obtained from project website: na =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? yes 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