VM Isolation
Cheat sheet · https://pcornel.dk/topic.php?topic=3651
Answer
VM isolation ensures one VM cannot read or affect another's memory, disks or traffic. It relies on hardware virtualization, the IOMMU, patched hypervisors against side-channel attacks and disabling risky features like unrestricted copy-paste.
Remember
- Disable VM features you do not need, such as copy-paste and unused devices.
- Use the IOMMU when passing devices to VMs.
First checks
cat /sys/devices/system/cpu/vulnerabilities/*— isolation mitigationscat /sys/kernel/mm/ksm/run— KSM inter-VM sharinggetenforce / aa-status— sVirt/AppArmor confinement
Verify in this order
VM A ↔ hypervisor isolation ↔ VM B
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3651