Intel VT-d
Cheat sheet · https://pcornel.dk/topic.php?topic=3411
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 activecat /proc/cmdline | grep -o intel_iommu=[a-z]*— kernel parameterfind /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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| VT-x | CPU virtualization | Separate Intel feature |
| VT-d | DMA/I/O remapping | IOMMU family |
| Firmware enablement | Exposes remapping hardware | Not assignment proof |
| Device topology | Determines isolation practicality | Must 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