struct virtio_scsi_req_cmd

Defined at line 45 of file ../../zircon/system/ulib/virtio/include/virtio/scsi.h

A virtio-scsi request represents a single SCSI command to a single target.

The command command has a 'virtio_scsi_req_cmd' from the driver to the

device, an optional data out region (again from the driver to the device),

a virtio_scsi_resp_cmd from the device to the driver with Sense information

(if any), and an optional data in region.

The virtio_scsi_req_cmd and resp_cmd structures must be in a single virtio

element unless the F_ANY_LAYOUT feature is negotiated.

Public Members

uint8_t[8] lun
uint64_t id
uint8_t task_attr
uint8_t prio
uint8_t crn
uint8_t[32] cdb