diff options
author | Jeuk Kim <jeuk20.kim@samsung.com> | 2023-10-19 23:28:06 +0900 |
---|---|---|
committer | Jeuk Kim <jeuk20.kim@samsung.com> | 2023-10-30 10:28:04 +0900 |
commit | 096434fea13acd19f4ead00cdf9babea8dc7e61e (patch) | |
tree | b0b1ceb8e14bd2c51dd817f954833188bc947422 /hw/usb/dev-storage-classic.c | |
parent | c60be6e3e38cb36dc66129e757ec4b34152232be (diff) | |
download | qemu-096434fea13acd19f4ead00cdf9babea8dc7e61e.zip qemu-096434fea13acd19f4ead00cdf9babea8dc7e61e.tar.gz qemu-096434fea13acd19f4ead00cdf9babea8dc7e61e.tar.bz2 |
hw/ufs: Modify lu.c to share codes with SCSI subsystem
This patch removes the code that ufs-lu was duplicating from
scsi-hd and allows them to share code.
It makes ufs-lu have a virtual scsi-bus and scsi-hd internally.
This allows scsi related commands to be passed thorugh to the scsi-hd.
The query request and nop command work the same as the existing logic.
Well-known lus do not have a virtual scsi-bus and scsi-hd, and
handle the necessary scsi commands by emulating them directly.
Signed-off-by: Jeuk Kim <jeuk20.kim@samsung.com>
Diffstat (limited to 'hw/usb/dev-storage-classic.c')
0 files changed, 0 insertions, 0 deletions