Do we need "amd_iommu=on" for AMD system anymore?

Daniel P. Berrangé berrange at redhat.com
Tue Jun 30 11:44:21 UTC 2020


On Tue, Jun 30, 2020 at 11:33:10AM +0800, Yalan Zhang wrote:
> Hi,
> 
> Since long time ago, to enable the SR-IOV VF pci passthrough function, I'm
> always adding "amd_iommu=on" into kernel cmdline on AMD system.
> But recently I found even I do not do this action, IOMMU is still enabled
> by kernel on AMD system.

I don't know history of amd_iommu=on, but currently libvirt's official
recommendation for AMD hosts, via virt-host-validate is

   iommu=pt  iommu=1

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list