virtio_scsi (4)
Leading comments
Copyright (c) 2012 Bryan Venteicher All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or o...
NAME
virtio_scsi - VirtIO SCSI driverSYNOPSIS
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.conf5:
virtio_scsi_load="YES"
DESCRIPTION
The ifconfig 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.conf5.- 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 ifconfig driver, set thehw.vtscsi.X.debug_level
variable, where X is the adapter number, either in loader.conf5 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.