Pcornel
Security · Virtualization Security

VM Isolation

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

Back to the Topic

Answer

VM isolation in virtualization security prevents a compromised VM from reaching the hypervisor or other VMs. Keep hosts patched for CPU side-channel flaws and disable unneeded VM features and devices.

Remember

  • Patch CPU side-channel vulnerabilities.
  • Disable VM features you do not need.
  • Separate VM networks by trust.

First checks

  • Trust zones on separate hosts/clusters — isolation
  • cat /sys/kernel/mm/ksm/run — memory sharing
  • Side-channel mitigations enabled — CPU

Commands

esxcli system version get

Verify in this order

VM ↔ hypervisor isolation ↔ VM

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=5049

Confirmation

Confirm action

Continue?