PVSCSI(4)
π PVSCSI π
okay so bestie, we're talking about pvscsi(4) β the VMware Paravirtual SCSI Controller driver. yes it's a mouthful, no you don't have to say it out loud. i've got you π
β¨ SYNOPSIS β¨
so like, if you wanna compile this driver into the kernel, you drop these lines into your kernel configuration file:
device pci
device scbus
device pvscsi
OR β and honestly this is the lowkey easier route β load it as a module at boot time by putting this in loader.conf(5):
pvscsi_load="YES"
and then there's the tunables, which you can set from loader(8) π
πΈ Tunables
hw.pvscsi.request_ring_pagesβ controls how many pages get allocated for the device request ring. a non-positive value means the driver picks the number itself based on device capabilities. a non-zero value uses that many pages, up to a maximum of32. the default is0. slay, sensible defaults π«Άhw.pvscsi.max_queue_depthβ controls the queue size for the adapter. non-positive value? driver decides based on the number of request ring pages. non-zero value? it sets the queue size, up to the max allowed by the number of request ring pages. default is0.hw.pvscsi.use_msgβ set it to a nonzero value and you enable the PVSCSI message queue, which lets you hot-add and hot-remove disks without needing a manual rescan. default is1. literally iconic πhw.pvscsi.use_msiβ nonzero value enables MSI interrupts. default is1.hw.pvscsi.use_msixβ nonzero value enables MSI-X interrupts. default is1. we love options πhw.pvscsi.use_req_call_thresholdβ nonzero value enables the request call threshold functionality.TODO.default is1. (yes the manpage really just saysTODO, i'm not hiding anything from you bestie π)
π¦ DESCRIPTION π¦
the pvscsi driver provides support for the VMware Paravirtual SCSI Controller (PVSCSI) in virtual machines by VMware. that's it, that's the vibe. it makes your virtual SCSI stuff work under VMware, periodt β¨
π SEE ALSO π
go read those if you're feeling curious, iykyk π
β HISTORY β
the pvscsi driver first appeared in FreeBSD 13.0. a whole era π
π AUTHORS π
Vishal Bhakta <vbhakta@vmware.com>.
and that's the whole page, bestie β this one's from Debian, dated December 5, 2018 π thanks for reading, mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- π the page's license: (BSD-2-Clause OR GPL-2.0)
- Copyright (c) 2018 VMware, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms