Pcornel
Virtualization · Virtualization Fundamentals

AMD-Vi

Cheat sheet · https://pcornel.dk/topic.php?topic=3412

Back to the Topic

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 active
  • cat /proc/cmdline — amd_iommu / iommu=pt parameters
  • ls /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

BoundaryMeaningEvidence limit
AMD-V/SVMCPU virtualizationSeparate capability
AMD-Vi/IOMMUDMA/I/O remappingDevice isolation layer
Firmware IOMMUControls availabilityNot device support proof
PCI groupingIsolation/topology evidenceMay 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

Confirmation

Confirm action

Continue?