HYPER-V(4)
π HYPER-V(4) π
okay bestie, sit down, hydrate, because we're talking about hv_netvsc β the Hyper-V Network Virtual Service Consumer. yes that's a mouthful, no you don't have to say it out loud at parties. it's a kernel interfaces manual page and it's lowkey iconic. π¦
β¨ NAME β¨
hv_netvsc β Hyper-V Network Virtual Service Consumer, aka the lil networking bestie for your FreeBSD guest partition living its best life on Hyper-V π
πΈ SYNOPSIS πΈ
so to compile this driver into the kernel, you drop these lines into the system kernel configuration file:
device hyperv
that's it. that's the whole vibe check. periodt. β¨
π DESCRIPTION π
okay so the hv_netvsc driver implements the virtual network device for FreeBSD guest partitions running on Hyper-V. say that five times fast, I dare you. π
here's the tea though: FreeBSD guest partitions running on Hyper-V do not have direct access to network devices attached to the Hyper-V server. like, zero direct access. it's giving "you can look but you can't touch." π
now, technically a FreeBSD guest can access network devices using Hyper-V's full emulation mode. but bestie... the performance in this mode tends to be unsatisfactory. and by "unsatisfactory" we mean it's giving dial-up energy in a fiber-optic world. π
so to counter the above issues β and honestly, to counter them hard β the hv_netvsc driver implements a network Virtual Service Consumer (VSC) that relays network requests from the guest partition to the network Virtual Service Provider (VSP) hosted in the root partition. and it does this using the high performance data exchange infrastructure provided by the hv_vmbus(4) driver. π₯
then the VSP in the root partition forwards the network related requests to the physical network card. like a relay race but make it kernel. πβοΈβ‘οΈπβοΈβ‘οΈπ₯οΈ
so the whole flow is:
- guest partition wants network stuff
- VSC (
hv_netvsc) catches those requests hv_vmbus(4)provides the high performance data exchange infrastructure to pass them along- VSP in the root partition receives them
- VSP forwards them to the physical network card
- everyone ate and left no crumbs π
π«Ά SEE ALSO π«Ά
go read these next, they're all part of the same friend group fr fr:
hv_ata_pci_disengage(4)hv_storvsc(4)hv_utils(4)hv_vmbus(4)
π HISTORY π
support for hv_netvsc first appeared in FreeBSD 10.0. a whole era. β
the driver was developed through a joint effort between Citrix Incorporated, Microsoft Corporation, and Network Appliance Incorporated. three companies, one driver, absolute collab of the century. π
π AUTHORS π
FreeBSD support for hv_netvsc was first added by the Microsoft BSD Integration Services Team <bsdic@microsoft.com>. thank you for your service, genuinely. π«‘
and that's the whole page bestie!! this one came from the Debian crew, dated September 10, 2013, and it's filed under HYPER-V(4). now go forth and network, you absolute main character. πβ¨π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2012 Microsoft Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms