xcp-ng / xcp-ng-org

XCP-ng org website
69 stars 92 forks source link

Added some details on checking IOMMU for PCI passthrough #230

Open alfh opened 1 year ago

alfh commented 1 year ago

Add info on how to check if IOMMU is enabled on the current running kernel, and how to add the kernel parameters. Also add some info related to iommu_groups, and hint on iommu=pt for performance.

I used this to enable PCI passthrough of USB controller, which worked, even if I did not have anything in the /sys/kernel/iommu_groups.

Before submitting the pull request, you must agree with the following statements by checking both boxes with a 'x'.

  • [ x] "I accept that my contribution is placed under the CC BY-SA 2.0 license [1]."
  • [ x] "My contribution complies with the Developer Certificate of Origin [2]."

[1] https://creativecommons.org/licenses/by-sa/2.0/ [2] https://xcp-ng.org/docs/contributing.html#developer-certificate-of-origin-dco