使用离散设备分配 (DDA) 在 Hyper-V 上实现 Intel iGPU 直通

使用离散设备分配 (DDA) 在 Hyper-V 上实现 Intel iGPU 直通

我有一台运行 Linux 发行版的 Hyper-V VM(第 2 代),想使用 DDA 直通我的英特尔 iGPU(英特尔 UHD 显卡)。
按照以下方法操作后,我遇到了以下错误Microsoft-HyperV-DDA 指南

Dismount-VMHostAssignableDevice : The operation failed.
The device cannot be assigned to a virtual machine as the firmware (BIOS or UEFI) on this host
computer system indicates that the device must remain in contact with the firmware running in 
the host. The device can only be used in the management operating system. You should contact
your OEM to determine if a firmware upgrade is available, or if the PCI Express device can be   
reconfigured to be independent of the host firmware.
At line:1 char:1
+ Dismount-VMHostAssignableDevice -force -LocationPath $location
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : InvalidArgument: (:) [Dismount-VMHostAssignableDevice], VirtualizationException
     + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.DismountVMHostAssignableDevice

以下是我执行的命令:

$vm='Gentoo'
$location='PCIROOT(0)#PCI(0200)'
Set-VM $vm -GuestControlledCacheTypes $true
Set-VM $vm -LowMemoryMappedIoSpace 512MB
Set-VM $vm -HighMemoryMappedIoSpace 3GB
Dismount-VMHostAssignableDevice -force -LocationPath $location

有什么办法吗the PCI Express device can be reconfigured to be independent of the host firmware

相关内容