How to Enable PCI Passthrough on EVE-NG

for d in /sys/kernel/iommu_groups/*/devices/*; do
n=${d#*/iommu_groups/*}; n=${n%%/*}
printf 'IOMMU Group %s ' "$n"
lspci -nns "${d##*/}"
done;
IOMMU Group 36 82:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] [1000:005b] (rev 05)
vfio vfio_iommu_type1 vfio_virqfd vfio_pci ids=1000:005b
vfio vfio_iommu_type1 vfio_pci ids=1000:005b
options vfio-pci ids=1000:005b
update-initramfs -u -k all
cat /sys/bus/pci/devices/0000:82:00.0/modalias
alias pci:v00001000d0000005Bsv00001000sd00009271bc01sc04i00 vfio-pci
-device vfio-pci,host=82:00.0

--

--

--

Senior Network Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Tab Completion Script for Buffalo in Fish Shell

Vlookup excel formula

Dependency Injection

Life is a journey of twists and turns, peaks and valleys, mountains to climb and oceans to explore.

Deploying WordPress and MySQL using custom VPC and Subnets on AWS with Terraform

Writing tests for Couchbase with Testcontainers on Golang

5 Reasons I’m Passionate About Coding | Regpack Registration

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jedadiah Casey

Jedadiah Casey

Senior Network Engineer

More from Medium

How does the factory model help to onboard a large number of apps in a scalable and faster manner?

How I got into Cyber Security with no Certifications or a Degree

Choosing a career path in cybersecurity can be quite tricky because of the numerous opportunities…

How to create an FTP server on a Linux Virtual Machine hosted on Cloud?