I am attempting to passthrough a PNY Nvidia 1030G graphics card through my HP DL380p (G8) to a VM in Unraid. I feel like I have been trying for ever and read just about every thread out there. At this point I think I may have tinkered too much. so far this is what I have done. Please help.
Error:
internal error: qemu unexpectedly closed the monitor: 2021-01-15T17:59:22.466043Z qemu-system-x86_64: -device vfio-pci,host=0000:04:00.1,id=hostdev1,bus=pci.0,addr=0x6.0x1: vfio 0000:04:00.1: failed to setup container for group 33: Failed to set iommu for container: Operation not permitted
Bios:
SRV-IOV - enabled
Embedded graphics primary, installed graphics secondary (this was causing my server to use the 1030 and losing all output)
Unraid:
OS: 6.9-rc1
syslinux config: Unraid OS: append vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_acs_override=id:10de:1d01,10de:0fb8 initrd=/bzroot
system devices: Bind audio and video to same iommu group
PCIe ACS override - enabled (also seen above)
Allow unsafe interrupts (also seen above)
VM:
VM XML add the multifunction='on' and set sound and gpu to be same slot (6) , different functions (0x01)
VM XML I have tried changing my default slot of 5 to slot 6
tried with and without vbios
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
unraid.jerry-diagnostics-20210115-1228.zip