Pcornel
Virtualization · Virtualization Fundamentals

Intel VT-d

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

Back to the Topic

Answer

VT-d provides hardware mechanisms that let the platform/hypervisor control how PCIe devices access memory and interrupts. It complements Intel VT-x, which handles CPU virtualization.

Remember

  • VT-d ≠ VT-x: VT-d virtualizes/restricts I/O DMA while VT-x virtualizes CPU execution.
  • Firmware may expose VT-d separately from CPU virtualization.
  • VT-d support does not guarantee every device has clean isolation or reset behavior.
  • Hypervisor and device support remain required after VT-d is enabled.

First checks

  • dmesg | grep -e DMAR -e 'IOMMU enabled' — VT-d active
  • cat /proc/cmdline | grep -o intel_iommu=[a-z]* — kernel parameter
  • find /sys/kernel/iommu_groups/ -type l | head — device to group mapping

Verify in this order

VT-d in firmware → DMAR tables → kernel IOMMU → 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 → Intel VT-d reference map

BoundaryMeaningEvidence limit
VT-xCPU virtualizationSeparate Intel feature
VT-dDMA/I/O remappingIOMMU family
Firmware enablementExposes remapping hardwareNot assignment proof
Device topologyDetermines isolation practicalityMust be checked per device/platform

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3411

Confirmation

Confirm action

Continue?