Bug 895002

Summary: when lun number >= 9 for usb-uas, guest couldn't see the lun any more without any error
Product: Red Hat Enterprise Linux 7 Reporter: Gunannan Ren <gren>
Component: qemu-kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: acathrow, dallan, juzhang, qzhang, qzhou, virt-maint
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-03-20 13:05:01 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:

Description Gunannan Ren 2013-01-14 09:38:32 UTC
Description of problem:
when lun number >= 9 for usb-uas, guest couldn't see the lun any more without any error

/usr/bin/qemu-system-x86_64 -name guesttest -M pc-0.15 -enable-kvm -m 1024 \ -device usb-ehci,id=ehci \
-device usb-uas,id=uas,bus=ehci.0 \
-drive file=/var/lib/libvirt/images/fedora.img,if=ide,id=drive1,format=raw \
-drive file=/var/lib/libvirt/images/seconddisk,if=none,id=uas-disk1,format=raw \
-device scsi-hd,bus=uas.0,scsi-id=0,lun=9,drive=uas-disk1

linux-3.7.1 with CONFIG_USB_UAS=y.
# /usr/bin/qemu-system-x86_64 --version
QEMU emulator version 1.3.50


Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
couldn't see the lun attached to uas controller

Expected results:
the lun shows up in guest.

Additional info: