3

I have a Hyper-V VM (Gen 2) running a Linux distribution and would like to passthrough my intel-iGPU (intel UHD graphics) using DDA.
I have encountered the following error after following the Microsoft-HyperV-DDA-guide :

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

Below are the commands that I executed:

$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

Is there any way the PCI Express device can be reconfigured to be independent of the host firmware ?

2
  • In Settings of VM, Security tab, try to uncheck enable security boot
    – Vlad
    Feb 18, 2023 at 22:30
  • Have you found a way to deal with this? Jul 26, 2023 at 7:57

0

You must log in to answer this question.

Browse other questions tagged .