Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

IOMMU · Virtualization Fundamentals

Direct answer

IOMMU is the I/O-side analogue of memory address translation for devices: it maps device-visible DMA addresses to permitted physical memory and can provide interrupt/remapping isolation depending on platform support.

When to use this

Use it when troubleshooting PCI passthrough, SR-IOV/direct assignment prerequisites, DMA isolation or the difference between CPU and device virtualization.

First 30 seconds

1. The IOMMU remaps device DMA so devices can be safely assigned to VMs.

2. Enable in firmware (VT-d/AMD-Vi) and kernel (intel_iommu=on).

3. Devices in one IOMMU group must be assigned together.

4. Needed for PCI passthrough and SR-IOV.

5. Check group membership before passthrough.

Operational verification

firmware IOMMU on → kernel enables → IOMMU groups → device assigned to VM

Evidence · next step

Validate device topology/grouping and platform-specific assignment requirements next.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show the device is safe/supported for assignment or that the guest driver will operate correctly.

Next check: Validate device topology/grouping and platform-specific assignment requirements next.

Platform / version applicability
virtualization
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization
Scope / prerequisiteUse it when troubleshooting PCI passthrough, SR-IOV/direct assignment prerequisites, DMA isolation or the difference be…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

PCI device/DMA request → IOMMU mapping/remapping → host physical memory/interrupt → VM/device owner

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • IOMMU is not the same as VT-x/AMD-V CPU virtualization.
  • Having an IOMMU does not mean every PCI device can be safely assigned to a VM.
  • Isolation also depends on platform topology, IOMMU groups/remapping capabilities, firmware and hypervisor policy.
  • IOMMU enablement can matter for security features even when no device is directly assigned.
Key checks
  • dmesg | grep -i -e DMAR -e IOMMU -e AMD-Vi — IOMMU initialised
  • ls /sys/kernel/iommu_groups/ | wc -l — IOMMU groups exist
  • cat /proc/cmdline — intel_iommu=on / iommu=pt
ReferenceImportant terms & boundaries3 sections · depth on demand

What this shows and what it does not

IOMMU enabled shows remapping infrastructure exists, but it does not show a particular device is isolated, assignable or supported.

Intel VT-d and AMD-Vi are vendor-specific IOMMU implementations/families. PCI passthrough and SR-IOV depth belongs later in Virtualization.

Enabling the IOMMU

PlatformSetting
Intel firmwareVT-d
AMD firmwareIOMMU / AMD-Vi
Linux kernelintel_iommu=on (default on in recent kernels for some distros) or amd_iommu=on; add iommu=pt for passthrough-only mapping
ESXi / Hyper-VEnabled automatically when firmware supports it

Check with dmesg | grep -e DMAR -e IOMMU and find /sys/kernel/iommu_groups/ -type l.

In depth

An IOMMU translates and restricts DMA from devices, the same way the MMU does for CPU memory access. It is what makes device passthrough safe: a device assigned to a VM can only DMA into that VM's memory, and interrupts are remapped to the right guest.

# kernel command line
intel_iommu=on iommu=pt        # Intel (iommu=pt: passthrough mode for host devices)
amd_iommu=on                   # AMD (usually on by default)
dmesg | grep -iE 'DMAR|IOMMU|AMD-Vi'
ls /sys/kernel/iommu_groups/

The IOMMU also protects the host from malicious or buggy DMA (e.g. Thunderbolt devices) even without VMs.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization current

Authoritative/upstream documentation reviewed for bounded claims in Virtualization Fundamentals → IOMMU. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
io memory management unitDMA remappingiommu virtualization
Embedded reference data

Quick lookup tables

Virtualization Fundamentals → IOMMU reference map

Fast virtualization boundaries for Virtualization Fundamentals → IOMMU.

BoundaryMeaningEvidence limit
DMADevice access to memoryNeeds isolation in shared host
IOMMUTranslates/restricts DMAPlatform/topology dependent
IOMMU group/domainIsolation boundary used by softwareMay include multiple devices
Device passthroughAssigns device/function to VMRequires more than IOMMU present
Confirmation

Confirm action

Continue?