Some issues with disk controller passthrough

DyingStar

New Member
Sep 25, 2023
2
1
1
Hi all, I'm passing the hard disk controller to the VM, after following the relevant documentation and setting up passthrough, I try to start the VM but I get the following error message:
Code:
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 0000:03:00.0: failed to setup container for group 43: Failed to set iommu for container: Operation not permitted
TASK ERROR: start failed: QEMU exited with code 1
 
Failed to set iommu for container: Operation not permitted is often an indication that you run into a RMRR issue typically on a HP machine.
Check the system log for messages about RMRR. If so, then this site might help and you can find possible work-arounds there and by searching the forum.
 
FYI, as of Proxmox kernel release 6.2.16-13-pve, the relax-intel-rmrr patch is now part of the kernel, so you don't need to patch it anymore (see details in Proxmox bug 4707). The functionality is disabled by default though, so you still need to enable it the same way you've done in the past. Configuration instructions can be found here.

For folks still on Proxmox 7.4, patched kernel series 5.15 are available here.