FreeBSD-EN-22:03.hyperv : vPCI compatibility improvements
Versions Affected : All versions prior to TrueNAS 12.0-U8
Description
A Hyper-V vPCI emulation change can cause SR-IOV (Single-Root I/O Virtualization) and DDA (Discrete Device Assignment) devices to fail to operate correctly under Hyper-V.
In recent Hyper-V releases on Windows Server 2022, the vPCI code does not initialize the last 4 bit of device registers. This behavior change could result in failure to initialize guest drivers for SR-IOV or DDA devices. SR-IOV and DDA devices may not work in FreeBSD running under certain Hyper-V releases.
Workaround
No workaround is available, however systems not running within Hyper-V or Azure are unaffected.
Mitigation
- Upgrade to TrueNAS 12.0-U8 or later.
Commit
- FreeBSD Revision : r371484
- TrueNAS Commit : 5bd08f7
- TrueNAS Commit : 59f0ce7
- JIRA Ticket : NAS-114278