Bug 1004278

Summary: cannot recognize xhci usb storage(port reset failed) after re-enable device
Product: Red Hat Enterprise Linux 7 Reporter: Xu Han <xuhan>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: acathrow, hhuang, juzhang, michen, sluo, virt-maint, xfu, xuhan, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-30 08:08:09 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:
Attachments:
Description Flags
device manager screenshot none

Description Xu Han 2013-09-04 10:26:46 UTC
Description of problem:
cannot recognize xhci usb storage(port reset failed) after re-enable device in windows 2012 guest

Version-Release number of selected component (if applicable):
qemu: qemu-kvm-1.5.3-2.el7.x86_64
kernel: 3.10.0-15.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.boot guest
#/usr/libexec/qemu-kvm ... \
-device nec-usb-xhci,id=xhci,addr=0x04 \
-device usb-storage,drive=drive-usb-0-0,id=usb-0-0,removable=on,bus=xhci.0 \
-drive file=/mnt/add-disk.qcow2,if=none,id=drive-usb-0-0,media=disk,format=qcow2,cache=none,aio=native

2.disable usb storage from device manager

3.enable usb storage from device manager

Actual results:
cannot recognize usb storage device(attached screenshot)

Expected results:
can recognize usb storage device with no error

Additional info:

Comment 1 Xu Han 2013-09-04 10:30:27 UTC
Created attachment 793594 [details]
device manager screenshot

Comment 3 Gerd Hoffmann 2013-09-05 05:58:14 UTC
Probably a duplicate of bug 949514.

Comment 4 Xu Han 2013-09-05 06:33:21 UTC
(In reply to Gerd Hoffmann from comment #3)
> Probably a duplicate of bug 949514.

Hi Gerd,

at first, guest could recognize this usb storage, but failed after re-enable. So I think it may not be same as bug 949514.

Comment 5 Gerd Hoffmann 2013-10-29 13:47:33 UTC
Fix for bug 949514 is in qemu-kvm-1.5.3-7.el7 now, can you retest please?

Comment 6 Xu Han 2013-10-30 01:48:09 UTC
Retested on windows 2012-r2 guest with qemu-kvm-rhev-1.5.3-10.el7.x86_64, and not hit this issue any more.
According to above test result, please close this bug as duplicate of bug 949514.

Comment 7 Gerd Hoffmann 2013-10-30 08:08:09 UTC

*** This bug has been marked as a duplicate of bug 949514 ***