Hyper-v 上支持的 FreeBSD 虚拟机Supported FreeBSD virtual machines on Hyper-V

适用于: Azure Stack HCI,版本 20H2;Windows Server 2019,Hyper-v Server 2019,Windows Server 2016,Hyper-v Server 2016,Windows Server 2012 R2,Hyper-v Server 2012 R2,Windows 10,Windows 8。1Applies To: Azure Stack HCI, version 20H2; Windows Server 2019, Hyper-V Server 2019, Windows Server 2016, Hyper-V Server 2016, Windows Server 2012 R2, Hyper-V Server 2012 R2, Windows 10, Windows 8.1

以下功能分发映射指示每个版本中的功能。The following feature distribution map indicates the features in each version. 表后面列出了每个分发的已知问题和解决方法。The known issues and workarounds for each distribution are listed after the table.

表图例Table legend

  • 内置 的 BIS (FreeBSD Integration Service) 作为此 FreeBSD 版本的一部分包含在内。Built in - BIS (FreeBSD Integration Service) are included as part of this FreeBSD release.

  • ✔ 功能可用✔ - Feature available

  • (空白) -功能不可用(blank) - Feature not available

功能Feature Windows Server 操作系统版本Windows Server operating system version 12-12。112-12.1 11.1-11。311.1-11.3 11.011.0 10.310.3 10.210.2 10.0-10。110.0 - 10.1 9.1-9.3、8。49.1 - 9.3, 8.4
可用性Availability 内置Built in 内置Built in 内置Built in 内置Built in 内置Built in 内置Built in 端口Ports
核心Core 2019、2016、2012 R22019, 2016, 2012 R2
Windows Server 2016 准确时间Windows Server 2016 Accurate Time 2019、20162019, 2016
网络Networking
Jumbo 帧Jumbo frames 2019、2016、2012 R22019, 2016, 2012 R2 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3 ✔ 备注3✔ Note 3
VLAN 标记和中继VLAN tagging and trunking 2019、2016、2012 R22019, 2016, 2012 R2
实时迁移Live migration 2019、2016、2012 R22019, 2016, 2012 R2
静态 IP 注入Static IP Injection 2019、2016、2012 R22019, 2016, 2012 R2 ✔ 备注4✔ Note 4 ✔ 备注4✔ Note 4 ✔ 备注4✔ Note 4 ✔ 备注4✔ Note 4 ✔ 备注4✔ Note 4 ✔ 备注4✔ Note 4
vRSSvRSS 2019、2016、2012 R22019, 2016, 2012 R2
TCP 分段和校验和卸载TCP Segmentation and Checksum Offloads 2019、2016、2012 R22019, 2016, 2012 R2
大型接收卸载 (LRO) Large Receive Offload (LRO) 2019、2016、2012 R22019, 2016, 2012 R2
SR-IOVSR-IOV 2019、20162019, 2016
储存Storage Note1Note1 注释 1Note 1 注释 1Note 1 注释 1Note 1 注释 1Note 1 备注1、2Note 1,2 备注1、2Note 1,2
VHDX 调整大小VHDX resize 2019、2016、2012 R22019, 2016, 2012 R2 ✔ 备注6✔ Note 6 ✔ 备注6✔ Note 6 ✔ 备注6✔ Note 6
虚拟光纤通道Virtual Fibre Channel 2019、2016、2012 R22019, 2016, 2012 R2
实时虚拟机备份Live virtual machine backup 2019、2016、2012 R22019, 2016, 2012 R2
剪裁支持TRIM support 2019、2016、2012 R22019, 2016, 2012 R2
SCSI WWNSCSI WWN 2019、2016、2012 R22019, 2016, 2012 R2
记忆Memory
PAE 内核支持PAE Kernel Support 2019、2016、2012 R22019, 2016, 2012 R2
MMIO 间隙的配置Configuration of MMIO gap 2019、2016、2012 R22019, 2016, 2012 R2
动态内存-Hot-AddDynamic Memory - Hot-Add 2019、2016、2012 R22019, 2016, 2012 R2
动态内存-膨胀Dynamic Memory - Ballooning 2019、2016、2012 R22019, 2016, 2012 R2
运行时内存大小调整Runtime Memory Resize 2019、20162019, 2016
视频Video
Hyper-v 特定视频设备Hyper-V specific video device 2019、2016、2012 R22019, 2016, 2012 R2
杂项Miscellaneous
键/值对Key/value pair 2019、2016、2012 R22019, 2016, 2012 R2 ✔ 备注5✔ Note 5
不可屏蔽中断Non-Maskable Interrupt 2019、2016、2012 R22019, 2016, 2012 R2
从主机到来宾的文件复制File copy from host to guest 2019、2016、2012 R22019, 2016, 2012 R2
lsvmbus 命令lsvmbus command 2019、2016、2012 R22019, 2016, 2012 R2
Hyper-v 套接字Hyper-V Sockets 2019、20162019, 2016
PCI 传递/DDAPCI Passthrough/DDA 2019、20162019, 2016
第 2 代虚拟机Generation 2 virtual machines
使用 UEFI 启动Boot using UEFI 2019、2016、2012 R22019, 2016, 2012 R2
安全启动Secure boot 2019、20162019, 2016

说明Notes

  1. 建议在启动过程中为 磁盘设备添加标签 以避免出现根本装入错误。Suggest to Label Disk Devices to avoid ROOT MOUNT ERROR during startup.

  2. 在 FreeBSD 1.x 和2.x 上加载 BIS 驱动程序时,可能无法识别虚拟 DVD 驱动器,除非通过以下命令启用旧版 ATA 驱动程序。The virtual DVD drive may not be recognized when BIS drivers are loaded on FreeBSD 8.x and 9.x unless you enable the legacy ATA driver through the following command.

    # echo ‘hw.ata.disk_enable=1' >> /boot/loader.conf
    # shutdown -r now
    
  3. 9126是受支持的最大 MTU 大小。9126 is the maximum supported MTU size.

  4. 在故障转移方案中,你不能在副本服务器中设置静态 IPv6 地址。In a failover scenario, you cannot set a static IPv6 address in the replica server. 请改用 IPv4 地址。Use an IPv4 address instead.

  5. KVP 由 FreeBSD 10.0 上的端口提供。KVP is provided by ports on FreeBSD 10.0. 有关详细信息,请参阅 FreeBSD.org 上的 FreeBSD 10.0 端口See the FreeBSD 10.0 ports on FreeBSD.org for more information.

  6. 若要使 VHDX 联机大小调整在 FreeBSD 11.0 中正常工作,需要一个特殊的手动步骤来解决在 11.0 + 中修复的几何 bug,主机调整 VHDX 磁盘的大小后,打开要写入的磁盘,然后运行 "gpart 恢复",如下所示。To make VHDX online resizing work properly in FreeBSD 11.0, a special manual step is required to work around a GEOM bug which is fixed in 11.0+, after the host resizes the VHDX disk - open the disk for write, and run “gpart recover” as the following.

    # dd if=/dev/da1 of=/dev/da1 count=0
    # gpart recover da1
    

其他说明:10稳定和11稳定的功能矩阵与 FreeBSD 11.1 版本相同。Additional Notes: The feature matrix of 10 stable and 11 stable is same with FreeBSD 11.1 release. 此外,FreeBSD 10.2 和早期版本 (10.1、10.0、1.x、) 的生存期结束。In addition, FreeBSD 10.2 and previous versions (10.1, 10.0, 9.x, 8.x) are end of life. 有关支持的版本和最新安全建议的最新列表,请参阅 此处Please refer here for an up-to-date list of supported releases and the latest security advisories.

另请参阅See Also