Expand description
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.
Structsยง
- Async
Logical Unit - A logical unit with an AsyncDisk as the disk.
- Controller
- Vitio device for exposing SCSI command operations on a host file.
- Disk
Config - Configuration of each SCSI device.
- Logical
Unit ๐ - Describes each SCSI logical unit.
- Sense
- Sense code representation
- Targets ๐
- Virtio
Scsi ๐CmdReq Header - Virtio
Scsi ๐CmdResp Header
Enumsยง
- Execute
Error - Errors that happen while handling scsi commands.
- Queue
Type ๐
Constantsยง
- DEFAULT_
MAX_ ๐CHANNEL - DEFAULT_
MAX_ ๐LUN - DEFAULT_
MAX_ ๐TARGET - DEFAULT_
QUEUE_ ๐SIZE - FIXED_
FORMAT_ ๐SENSE_ SIZE - MAX_
CMD_ ๐PER_ LUN - MAX_
NUM_ ๐QUEUES - MAX_
SECTORS ๐ - MIN_
NUM_ ๐QUEUES
Functionsยง
- handle_
queue ๐ - process_
one_ ๐chain - process_
one_ ๐request - run_
worker ๐
Type Aliasesยง
- Target
Id ๐