HYPER-V(4)
HYPER-V(4) π
okay so we're in the Kernel Interfaces Manual, and this page is all about hv_kvp, the Hyper-V Key Value Pair Driver. not me getting emotional over kernel metadata, but here we are ππ
πΈ NAME πΈ
hv_kvp β Hyper-V Key Value Pair Driver. periodt. π
β¨ SYNOPSIS β¨
bestie, to compile this driver into the kernel, place the following lines in the system kernel configuration file:
device hyperv
π DESCRIPTION π
The hv_kvp driver gives FreeBSD guest partitions running on Hyper-V the ability to store, retrieve, modify and delete key value pairs. Hyper-V lets administrators store custom metadata in the form of key value pairs inside the FreeBSD guest partition. Administrators can use Windows Powershell scripts to add, read, modify and delete such key value pairs. β¨
The driver is bare bones and merely forwards requests to its counterpart user mode daemon, hv_kvp_daemon(8). The daemon maintains pools of key value pairs and does the actual metadata management. it's giving βdriver forwards, daemon handles the loreβ π
The same driver and daemon combination are also used to set and get IP addresses from a FreeBSD guest. π
The set functionality is particularly useful when the FreeBSD guest is assigned a static IP address and is 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 to its original static value. slay, failover handled. π₯
On the other hand, the get IP functionality is used to update the guest IP address in the Hyper-V management console window. that's the vibe check reporting back. π
π SEE ALSO π
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. The driver was developed through a joint effort between Citrix Incorporated, Microsoft Corporation and Network Appliance Incorporated. iconic collaboration behavior π€
π AUTHORS π
- FreeBSD support for
hv_kvpwas first added by Microsoft BSD Integration Services Team<bsdic@microsoft.com>.
mwah π β this page is signed off by Debian, dated September 10, 2013. π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- 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