virtio_scsi(4freebsd)

virtio_scsi4freebsd

Virtio scsi driver

Usage

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device virtio_scsi

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

virtio_scsi_load="YES"

Overview

The virtio_scsi device driver provides support for VirtIO SCSI devices.

Loader tunables

Tunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5).

hw.vtscsi.bus_reset_disable

In the initial QEMU release with VirtIO SCSI support, in-flight operations were not aborted when stopping the device, rendering bus reset ineffective. This tunable disables attempts to issue reset bus commands. The default value is 1.

Debugging

To enable debugging prints from the virtio_scsi driver, set the

hw.vtscsi.X.debug_level

variable, where X is the adapter number, either in loader.conf(5) or via sysctl(8). The following bits have the described effects:

0x01

Enable informational prints.

0x02

Enable prints for driver errors.

0x04

Enable tracing prints.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9
  3. 10
  4. 11–13

History

The virtio_scsi driver was written by Bryan Venteicher ⟨[email protected]⟩. It first appeared in FreeBSD 10.0.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.