passthrough/partition iGPU to Hyper-V VM
Go to solution
Solved by hellomynameisleo,
1 hour ago, m9x3mos said:This might actually work.
You can try using this for it to see what it does.
Just make sure you have the latest intel graphics driver installed from their site first.
I've look at the scripts for this and it look really exessive and there doesn't seem to be an easy undo for all those changes. I use the RTX 3090 gpu for my host.
Any idea if this would work for just an intel iGPU?
edit: it works
$vm = "myVM"
if (Get-VMGpuPartitionAdapter -VMName $vm -ErrorAction SilentlyContinue) {
Remove-VMGpuPartitionAdapter -VMName $vm
}
Set-VM -GuestControlledCacheTypes $true -VMName $vm
Set-VM -LowMemoryMappedIoSpace 1Gb -VMName $vm
Set-VM -HighMemoryMappedIoSpace 32Gb -VMName $vm
Add-VMGpuPartitionAdapter -VMName $vm -Instancepath "\\?\PCI#VEN_8086&DEV_A780&SUBSYS_7D251462&REV_04#3&11583659&0&10#{064092b3-625e-43bf-9eb5-dc845897dd59}\GPUPARAV"
if (Get-VMGpuPartitionAdapter -VMName $vm -ErrorAction SilentlyContinue) {
Remove-VMGpuPartitionAdapter -VMName $vm
}
Set-VM -GuestControlledCacheTypes $true -VMName $vm
Set-VM -LowMemoryMappedIoSpace 1Gb -VMName $vm
Set-VM -HighMemoryMappedIoSpace 32Gb -VMName $vm
Add-VMGpuPartitionAdapter -VMName $vm -Instancepath "\\?\PCI#VEN_8086&DEV_A780&SUBSYS_7D251462&REV_04#3&11583659&0&10#{064092b3-625e-43bf-9eb5-dc845897dd59}\GPUPARAV"
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now