LSIOMMU(1)
π LSIOMMU(1) π
okay so this is a User Commands page for lsiommu, and bestie, it's literally a little detective tool for your hardware. let's get into it π«Ά
β¨ NAME β¨
lsiommu β it enumerates IOMMU groups, and lists the PCIe devices and USB controllers associated with each group πΈ
π¦ DESCRIPTION π¦
okay so lsiommu is a hardware inspection utility that shows you the relationships between IOMMU groups, physical PCIe hardware, and nested USB buses. it's giving "family tree but for your motherboard" ngl π
it's commonly used when you're setting up Kernel-based Virtual Machines (KVM) with VFIO hardware passthrough β like, PCIe passthrough of a host device (such as a graphics card or a network interface) to a guest VM. that's the main character use case fr fr π
so the utility performs four core actions:
π Group Mapping
it iterates sequentially through the system kernel directory /sys/kernel/iommu_groups/ to discover physical hardware isolation clusters. cute little walk through the kernel tree, no cap β¨
π₯ Hardware Details
it executes lspci(8) queries to extract and cleanly format vendor names, hardware descriptions, and precise hardware IDs for graphics cards, network interfaces, and storage drives. it ate, honestly π
π Reset Support Flag
it checks the system tree for device reset capabilities. it appends an [R] flag if a hardware device natively supports a function-level reset β which is required for reliable virtual machine attach/detach cycles. so like, if you're hot-swapping devices between VMs, this flag is your bestie, pay attention π
π§ USB Mapping
it correlates nested USB controllers via lsusb(8) with their parent PCIe buses. this exposes exactly which physical USB ports belong to which isolated IOMMU group β so you know precisely which ports go with which group, periodt π
β NOTES β
IOMMU groups are a part of the kernel's VFIO (Virtual Function IO) driver framework β here's the link, bookmark it, iykyk:
https://docs.kernel.org/driver-api/vfio.html
π SEE ALSO π
and that's the whole vibe π this one comes from the Linux System Utilities crew, dated July 2026 β go check your IOMMU groups bestie, they're waiting πΈπ¦π
π¦ where this page comes from
- opensuse-leap 16.0: lsiommu 1.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms