> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/man/man4/hv_utils.4.md).

# hv\_utils.4

`hv_utils` — Hyper-V 实用工具驱动

## 名称

`hv_utils`

## 概要

`要将此驱动编译进内核，请在系统内核配置文件中加入以下行：`

> device hyperv

## 描述

`hv_utils` 驱动为运行于 Hyper-V 上的 FreeBSD 客户机分区提供时间保持、关闭和心跳功能。Hyper-V 是 Microsoft 提供的基于 hypervisor 的虚拟化技术。`hv_utils` 驱动是运行于 Hyper-V 上的客户机分区中必须存在的核心驱动之一。此驱动为客户机分区提供以下功能：

(a) 时间保持：通过 Timesync 服务和可插拔时间源设备的帮助，客户机分区内的时钟与虚拟化服务器上的时钟同步，从而保持准确。

(b) 集成关闭：运行 FreeBSD 的客户机分区可通过 Hyper-V 管理器控制台使用"关闭"命令进行关机。

(c) 心跳：此功能允许虚拟化服务器检测客户机分区是否正在运行且有响应。

## 参见

hv\_ata\_pci\_disengage(4), [hv\_netvsc(4)](/man/man4/hv_netvsc.4.md), [hv\_storvsc(4)](/man/man4/hv_storvsc.4.md), [hv\_vmbus(4)](/man/man4/hv_vmbus.4.md)

## 历史

`hv_utils` 的支持最早出现在 FreeBSD 10.0 中。该驱动由 Citrix Incorporated、Microsoft Corporation 和 Network Appliance Incorporated 联合开发。

## 作者

`hv_utils` 的 FreeBSD 支持最早由 Microsoft BSD Integration Services Team <bsdic@microsoft.com> 添加。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/hv_utils.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
