Use this Topic on AMD systems when device passthrough, DMA isolation or IOMMU-dependent virtualization features are involved.
AMD-Vi
AMD-Vi/IOMMU complements AMD-V CPU virtualization by controlling device DMA and related I/O mappings so the hypervisor can isolate or assign devices more safely.
1. AMD-Vi is AMD's IOMMU.
2. Usually on by default when enabled in firmware ("IOMMU").
3. iommu=pt for performance.
4. Check groups before passthrough.
5. Firmware updates can change grouping.
firmware IOMMU → IVRS table → kernel AMD-Vi → groups
Validate grouping/topology and platform-specific passthrough requirements next.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show independent reset, guest-driver support or safe device assignment.
Next check: Validate grouping/topology and platform-specific passthrough requirements next.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
AMD PCI device → AMD IOMMU remapping → permitted memory/interrupt target → host or VM owner
Step 2 Checks Verify boundary
dmesg | grep -iE 'AMD-Vi|IOMMU'
cat /proc/cmdline # iommu=pt amd_iommu=on (older kernels)
find /sys/kernel/iommu_groups/ -type l | head
AMD-Vi: Interrupt remapping enabled and populated IOMMU groups mean passthrough can work. Enable IOMMU in firmware, sometimes under NBIO/AMD CBS.
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.
- AMD-Vi/IOMMU ≠ AMD-V/SVM CPU virtualization.
- Firmware can expose CPU virtualization and IOMMU as separate settings.
- IOMMU availability does not make every PCIe device independently assignable.
- Device topology, reset semantics, firmware and hypervisor support remain separate requirements.
dmesg | grep -i AMD-Vi— AMD-Vi activecat /proc/cmdline— amd_iommu / iommu=pt parametersls /sys/kernel/iommu_groups/— groups exist
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
AMD-Vi/IOMMU active shows DMA-remapping infrastructure, not device-specific passthrough safety or support.
AMD-V remains the CPU virtualization owner; direct-device implementation belongs to later VM hardware/device branches.
In depth
AMD-Vi is AMD's IOMMU, described by the ACPI IVRS table. On current Linux kernels it is enabled automatically when present in firmware.
dmesg | grep -i AMD-Vi
# AMD-Vi: Interrupt remapping enabled
for g in /sys/kernel/iommu_groups/*; do echo "Group ${g##*/}"; ls $g/devices; done
On AMD desktop boards, PCIe slots wired through the chipset often share one IOMMU group; slots connected directly to the CPU usually get clean groups suitable for GPU passthrough.
ReferenceConfiguration & state1 section · depth on demand
Enabling AMD-Vi
Enable IOMMU (and often "SVM") in BIOS; on many recent kernels AMD IOMMU is on by default (amd_iommu=on is no longer needed on most systems, iommu=pt is still useful). Check with dmesg | grep -i AMD-Vi. IOMMU group layout depends on the motherboard/chipset and ACS support.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtualization Fundamentals → AMD-Vi. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%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.
Quick lookup tables
Virtualization Fundamentals → AMD-Vi reference map
Fast virtualization boundaries for Virtualization Fundamentals → AMD-Vi.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| AMD-V/SVM | CPU virtualization | Separate capability |
| AMD-Vi/IOMMU | DMA/I/O remapping | Device isolation layer |
| Firmware IOMMU | Controls availability | Not device support proof |
| PCI grouping | Isolation/topology evidence | May constrain assignment |