Truenas 12.0-U1 - PCI Passthrough AMD Ryzen no DMAR/IOMMU

Dekkars

Dabbler
Joined
May 18, 2017
Messages
13
Hi All,

I'm having an issue passing a USB PCI card through to a VM. When I try, it says 'IOMMU support is required'.

I've been running off of these instructions: https://wiki.freebsd.org/bhyve/pci_passthru

When I run:
acpidump -t | grep DMAR

I get nothing. Except don't Ryzen CPUs have Vt-d/SMR support? Am I missing something?

Thanks
 

Dekkars

Dabbler
Joined
May 18, 2017
Messages
13
Just to answer my own question, you need to go to tunables an add as a loader hw.vmm.amdvi.enable=1 and it worked. Hopefully help someone else!
 

bbmk859

Cadet
Joined
Sep 8, 2022
Messages
2
Do I have my tunables setup correctly?

1662653217687.png


I get nothing when I grep DMAR still

1662653300526.png


Thanks!
 
Top