On 02/19/19 09:49, Gerd Hoffmann wrote:
> Hi,
>
>> (2) If I change the cmdline to "lun=5", then the exchange is:
>
> Not supported (by the usb protocol).
>
> The protocol has a control message to query the number of devices (grep
> for GetMaxLun in qemu). LUNs are not allowed to be sparse.
Hi,
> (2) If I change the cmdline to "lun=5", then the exchange is:
Not supported (by the usb protocol).
The protocol has a control message to query the number of devices (grep
for GetMaxLun in qemu). LUNs are not allowed to be sparse. So, with a
single storage device the LUN must be zero.
Hi,
using QEMU, when I specify a nonzero LUN for the hard disk that sits on
the "SCSI bus" that embodies the USB Bulk Only Transfer device, then
UsbMassStorageDxe fails to recognize the hard disk.
(1) Consider the following QEMU command line snippet:
-drive