AMD-Vi
Cheat sheet · https://pcornel.dk/topic.php?topic=3412
Answer
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.
Remember
- 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.
First checks
dmesg | grep -i AMD-Vi— AMD-Vi activecat /proc/cmdline— amd_iommu / iommu=pt parametersls /sys/kernel/iommu_groups/— groups exist
Verify in this order
firmware IOMMU → IVRS table → kernel AMD-Vi → groups
Where it usually breaks
First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.
Virtualization Fundamentals → AMD-Vi reference map
| 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 |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3412