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 613977 - Window xp guest only find one usb storage device after hot plug in two usb disk
Summary: Window xp guest only find one usb storage device after hot plug in two usb disk
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Markus Armbruster
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 580953
TreeView+ depends on / blocked
 
Reported: 2010-07-13 12:22 UTC by juzhang
Modified: 2013-01-09 22:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-29 11:19:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description juzhang 2010-07-13 12:22:28 UTC
Description of problem:
Window xp guest only find one usb storage device after hot plug in two usb disk.In device manager,USB Mass Storage device show yellow !.

Version-Release number of selected component (if applicable):
#uname -r
2.6.32-44.el6.x86_64
#rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.91.el6.x86_64


How reproducible:


Steps to Reproduce:
1.boot guest
#/usr/libexec/qemu-kvm -m 2G -smp 2 -drive file=/root/zhangjunyi/winxp_32.raw,if=none,id=test,boot=on,cache=none,format=raw -device ide-drive,drive=test,bus=ide.0,id=ide0-0-0 -cpu qemu64,+sse2,+x2apic -monitor stdio -drive file=/root/zhangjunyi/boot.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,drive=drive-ide0-1-0 -boot order=cdn,menu=on -netdev tap,id=hostnet0,vhost=on -device rtl8139,netdev=hostnet0,id=net0,mac=22:11:22:45:66:97 -vnc :10 -qmp tcp:0:4444,server,nowait -drive if=floppy,file=/root/zhangjunyi/floppy.img -device piix3-usb-uhci,id=uhci123

2.telnet the qmp and issue qmp_capabilities
#{"execute":"qmp_capabilities"}

3. check usb device info
(qemu) info usb

4.hot add first usb storage driver and device
#{"execute":"__com.redhat_drive_add", "arguments": {"file":"/root/zhangjunyi/usb.img","id":"usb1"}}
#{"execute":"device_add","arguments":{"driver":"usb-storage","drive":"usb1","id":"dusb1"}}

5 check usb device info again
(qemu) info usb
 Device 0.1, Speed 12 Mb/s, Product QEMU USB MSD

6.hot add second usb storage driver and device
#{"execute":"__com.redhat_drive_add", "arguments": {"file":"/root/zhangjunyi/usb2.img","id":"usb3"}}
#{"execute":"device_add","arguments":{"driver":"usb-storage","drive":"usb3","id":"dusb3"}}

7. check usb device info again.
(qemu) info usb
  Device 0.1, Speed 12 Mb/s, Product QEMU USB MSD
  Device 0.0, Speed 12 Mb/s, Product QEMU USB Hub
  Device 0.0, Speed 12 Mb/s, Product QEMU USB MSD 
 
Actual results:
After step4, In guest,guest find device and work well.After step6,still just find one device.the other device was not found. step7 is very strange,compare to step5. add two "Device 0.0, Speed 12 Mb/s, Product QEMU USB Hub
  Device 0.0, Speed 12 Mb/s, Product QEMU USB MSD" 

Expected results:
Both two usb device was found in guest.

Additional info:
I also tested linux guest and win7 64 guest. all can find device in guest.

Comment 5 Markus Armbruster 2011-04-29 11:19:45 UTC
Closing NOTABUG, because because device usb-storage is not available in RHEL-6, and therefore any bugs it might have can't affect RHEL-6.

The bug was reported against qemu-kvm-0.12.1.2-2.91.el6.x86_64, which still had the device.  It's gone since 100.el6.


Note You need to log in before you can comment on or make changes to this bug.