Files
qemu-reims-vgpu/include/block
dridiha 397086dd55 hw/ufs: Add support for REPORT_LUNS SCSI command for Well Known LUNs
According to the UFS specification, the REPORT_LUNS SCSI command can query
Well Known LUNs by setting CDB[2] to 0x01 (select Well Known LUNs) or 0x02
(select all LUNs).

Currently, the UFS emulation layer lacks handling for these CDB[2] select
report values, causing command failures when guests attempt to report Well
Known LUNs.

This patch adds support for handling CDB[2] values 0x01 and 0x02 in the
REPORT_LUNS command, returning the appropriate Well Known LUN descriptors
in the SCSI response payload.

Signed-off-by: Hamza Dridi <dridiha98@gmail.com>
Reviewed-by: Jeuk Kim <jeuk20.kim@samsung.com>
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
2026-10-30 14:52:17 +09:00
..
2020-12-11 17:52:39 +01:00
2025-11-11 22:06:09 +01:00
2023-02-08 07:28:05 +01:00