virtio_scsi(4)

virtio_scsi4

Virtio scsi driver

Usage

device virtio_scsi

In loader.conf(5): hw.vtscsi.bus_reset_disable virtio_scsi_load="YES"

In loader.conf(5) or sysctl.conf(5): hw.vtscsi.%d.debug_level

Hardware

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.

Sysctl variables

The following variables can be entered at the loader(8) prompt, set in loader.conf(5), sysctl.conf(5), or changed at runtime with sysctl(8):

hw.vtscsi.%d.debug_level

Enable debugging prints. The following bits have the described effects:

0x01

Enable informational prints.

0x02

Enable prints for driver errors.

0x04

Enable tracing prints.

Releases

33 releases since FreeBSD 8.4-RELEASE; the text changed 20 times.

  1. 8.4
  2. 9.2
  3. 9.3
  4. 10.0
  5. 10.1
  6. 10.2
  7. 10.3
  8. 10.4
  9. 11.0
  10. 11.1
  11. 11.2
  12. 11.3
  13. 11.4
  14. 12.0
  15. 12.1
  16. 12.2
  17. 12.3
  18. 12.4
  19. 13.0–13.2
  20. 13.3–15.1
  21. 16.0

History

The virtio_scsi driver first appeared in FreeBSD 10.0.

Authors

Bryan Venteicher ⟨[email protected]⟩.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.