HYPER-V(4)
π HYPER-V(4) π
ok so this is the manual for hv_kvp, a.k.a. the Hyper-V Key Value Pair Driver, and yes bestie we're doing kernel interfaces today, sit down, hydrate, we're going in π«Ά
β¨ NAME β¨
hv_kvp β the Hyper-V Key Value Pair Driver π
πΈ SYNOPSIS πΈ
so if you wanna compile this driver into the kernel (not as a module, into the kernel, we're committing), you drop these lines into the system kernel configuration file:
device hyperv
that's it. that's the whole synopsis. short king energy honestly π
π¦ DESCRIPTION π¦
okay so what does hv_kvp actually do? bestie, it gives you the ability to store, retrieve, modify and delete key value pairs for FreeBSD guest partitions running on Hyper-V. literally all four of those verbs. the whole CRUD moment.
here's the vibe: Hyper-V lets administrators stash custom metadata in the form of key value pairs inside the FreeBSD guest partition. and how do they poke at it? Windows Powershell scripts, babes. admins use Powershell scripts to add, read, modify and delete those key value pairs. no cap.
the driver itself is bare bones β like, it's giving minimal. it doesn't even do the work, it just forwards requests to its counterpart user mode daemon, hv_kvp_daemon(8). that daemon is the one holding the actual pools of key value pairs and doing the real metadata management. the driver is basically the group chat relay and the daemon is the one who actually replies π iconic division of labour.
and btw the same driver and daemon combination is also what you use to set and get IP addresses from a FreeBSD guest. same duo, second job, they're booked and busy.
the set functionality β this one's lowkey the main character. it's particularly useful when the FreeBSD guest is assigned a static IP address and gets failed over from one Hyper-V host to another. after failover, Hyper-V uses the set IP functionality to automatically update the FreeBSD guest's IP address back to its original static value. like it just snaps back into place. slay. π₯
the get IP functionality β meanwhile, this one is used to update the guest IP address over in the Hyper-V management console window. so the console knows what's up. β¨
π SEE ALSO π
go read these next bestie, they're all in the family:
hv_ata_pci_disengage(4)hv_netvsc(4)hv_storvsc(4)hv_utils(4)hv_vmbus(4)hv_kvp_daemon(8)
π HISTORY π
support for hv_kvp first appeared in FreeBSD 10.0 π
and the lore? the driver was developed through a joint effort between Citrix Incorporated, Microsoft Corporation and Network Appliance Incorporated. three companies, one driver, a whole collab album fr fr.
π AUTHORS π
FreeBSD support for hv_kvp was first added by the Microsoft BSD Integration Services Team <bsdic@microsoft.com>. thank you for your service π«Ά
and that's the page!! this one came out of the Debian corner of the world, dated September 10, 2013 β yes it's vintage, yes it still ate, we don't talk about it π β¨ bye bestie, go read your kernel config π
π¦ 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