Module scsi

Source

Modulesยง

commands
constants
This file contains values specified in spec. SPC-3: https://www.t10.org/cgi-bin/ac.pl?t=f&f=spc3r23.pdf SAM-5: https://www.t10.org/cgi-bin/ac.pl?t=f&f=sam5r21.pdf
device ๐Ÿ”’
A SCSI controller has SCSI target(s), a SCSI target has logical unit(s). crosvm currently supports only one logical unit in a target (LUN0), therefore a SCSI target is tied to a logical unit and a disk image belongs to a logical unit in crosvm.
sys ๐Ÿ”’

Structsยง

Controller
Vitio device for exposing SCSI command operations on a host file.
DiskConfig
Configuration of each SCSI device.
ScsiOption
Parameters for setting up a SCSI device.

Functionsยง

scsi_option_block_size_default ๐Ÿ”’
scsi_option_lock_default ๐Ÿ”’