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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!