Use this when live migration fails because hosts have different CPUs, or when adding new hardware to an existing cluster.
CPU Compatibility · CPU Virtualization
CPU compatibility determines whether a VM can live-migrate between hosts: the destination must support every CPU feature the VM was started with, which is why clusters use EVC (vSphere), processor compatibility mode (Hyper-V) or a common CPU model (KVM).
1. Live migration needs the target CPU to support the guest's features.
2. Use a baseline model (EVC, compatibility mode, x86-64-vN).
3. Mixed CPU generations need the lowest common set.
4. Changes need guest power cycle.
5. Test migration after changes.
CPU baseline → guest features → migration allowed
Context & applicabilityCommon mistakes · platform/version boundaries
- Adding a newer host to a cluster without EVC and then being unable to migrate VMs.
- Lowering the EVC mode with powered-on VMs using newer features (not allowed).
- Different microcode versions causing feature differences.
Operational reference
Fast context before you go deeper.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- A VM keeps its CPU feature set until power-cycled.
- EVC/compat mode trades features for mobility.
- Mixed CPU generations need a common baseline.
virsh cpu-baseline host1.xml host2.xml— common CPU modelGet-VMProcessor <vm> | fl CompatibilityForMigrationEnabled— Hyper-V compatibilityesxcli system settings advanced list -o /Migrate/Enabled— ESXi (EVC set in vCenter)
ReferenceWhy it matters1 section · depth on demand
Keeping CPUs compatible
| Platform | Feature |
|---|---|
| vSphere | EVC (Enhanced vMotion Compatibility) baseline per cluster |
| Hyper-V | Processor compatibility mode (per VM) |
| KVM/Proxmox | Named CPU models or x86-64-v2/v3 baseline |
Set the baseline to the oldest CPU generation in the cluster before adding new hosts; raising it later requires VM power cycles.
ReferenceImportant terms & boundaries2 sections · depth on demand
Options by platform
| Platform | Feature |
|---|---|
| vSphere | EVC mode per cluster (e.g. Intel "Sapphire Rapids", AMD "Zen 3") |
| Hyper-V | Processor compatibility mode |
| KVM/Proxmox | Named CPU models (x86-64-v2-AES, x86-64-v3) |
Raising the baseline needs VMs to power cycle (not reboot) to see new features.
In depth
Live migration requires the destination CPU to support every instruction the guest has seen. Platforms enforce a common baseline:
| Platform | Feature |
|---|---|
| VMware | EVC (Enhanced vMotion Compatibility) per cluster or per VM |
| Hyper-V | Processor compatibility mode (-CompatibilityForMigrationEnabled) |
| KVM/Proxmox | Named CPU model shared by all hosts |
Set-VMProcessor vm1 -CompatibilityForMigrationEnabled $true
qm set 120 --cpu x86-64-v3
Mixing Intel and AMD hosts prevents live migration (cold migration still works).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in CPU Virtualization → CPU Compatibility. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%