HYPER-V(4) FreeBSD Kernel Interfaces Manual HYPER-V(4)


hv_kvp_daemonHyper-V Key Value Pair Daemon


To compile this driver into the kernel, place the following lines in the system kernel configuration file:

device hyperv


The hv_kvp_daemon daemon provides the ability to store, retrieve, modify and delete Key Value pairs for FreeBSD guest partitions running on Hyper-V. Hyper-V allows administrators to 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 hv_kvp_daemon accepts Key Value pair management requests from the hv_kvp(4) driver and performs the actual metadata management on the file-system.

The same daemon and driver combination is 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.

On the other hand, the get IP functionality is used to update the guest IP address in the Hyper-V management console window.


Support for hv_kvp_daemon first appeared in FreeBSD 10.0. The daemon was developed through a joint effort between Citrix Incorporated, Microsoft Corporation, and Network Appliance Incorporated.


FreeBSD support for hv_kvp_daemon was first added by Microsoft BSD Integration Services Team <bsdic@microsoft.com>.
September 10, 2013 FreeBSD