HYPER-V(4)
π
HYPER-V(4) β the hv_storvsc era π
okay so bestie, this is the HYPER-V page from section 4 of the manual, and the actual star of the show is hv_storvsc. yes it's a mouthful, no we're not renaming it, let's go π«Ά
β¨ NAME β¨
hv_storvsc β the Hyper-V Storage Virtual Service Consumer, aka your guest's ride-or-die for talking to storage π
πΈ SYNOPSIS πΈ
to compile this driver into the kernel, place the following lines in the system kernel configuration file:
device hyperv
that's it. one line. iconic behaviour honestly π
π¦ DESCRIPTION π¦
the hv_storvsc driver implements the virtual store device for FreeBSD guest partitions running on Hyper-V. lowkey important context: FreeBSD guest partitions running on Hyper-V do not have direct access to storage devices attached to the Hyper-V server. so rude of them tbh.
and yes, a FreeBSD guest can access storage devices using Hyper-V's full emulation mode β but the performance in this mode tends to be unsatisfactory π like, it works, but it's giving dial-up energy, and nobody wants that.
to counter the above issues, the hv_storvsc driver implements a storage Virtual Service Consumer (VSC) that relays storage requests from the guest partition to the storage Virtual Service Provider (VSP) hosted in the root partition, using the high performance data exchange infrastructure provided by hv_vmbus(4) driver. then the VSP in the root partition forwards the storage related requests to the physical storage device. teamwork!! the VSC hands it off, the VSP finishes the job, slay π€β¨
how does this driver function, you ask? it presents a SCSI HBA interface to the Common Access Method (CAM) layer. CAM control blocks (CCBs) are converted into VSCSI protocol messages, which are delivered to the root partition VSP over the Hyper-V VMBus. it's giving translation layer main character energy π
π SEE ALSO π
hv_ata_pci_disengage(4)hv_netvsc(4)hv_utils(4)hv_vmbus(4)
go read them bestie, they're the whole friend group π«Ά
β HISTORY β
support for hv_storvsc first appeared in FreeBSD 10.0. the driver was developed through a joint effort between Citrix Incorporated, Microsoft Corporation, and Network Appliance Incorporated β a collab so stacked it's basically a supergroup π
π AUTHORS π
FreeBSD support for hv_storvsc was first added by Microsoft BSD Integration Services Team <bsdic@microsoft.com>. say thank you π«‘π
and that's the page!! this one came to you from Debian, dated September 10, 2013 β yeah she's a vintage icon, we stan a classic ππΈ mwah, go read some more manpages bestie π
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2012 Microsoft Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms