Passthrough Security
Cheat sheet · https://pcornel.dk/topic.php?topic=5054
Answer
Passthrough security: assigning physical devices to VMs relies on the IOMMU to isolate DMA. Only pass through trusted devices, keep firmware updated and remember that the VM then controls real hardware.
Remember
- The IOMMU isolates device DMA.
- Pass through only trusted devices.
- Keep device firmware updated.
First checks
dmesg | grep -i -e DMAR -e 'interrupt remapping'— IOMMU safety- Passthrough device inventory — which VMs
- Firmware of passed devices — trust
Verify in this order
device → IOMMU → VM (DMA restricted)
Where it usually breaks
First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5054