Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

CPU Compatibility · CPU Virtualization

Direct answer

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).

When to use this

Use this when live migration fails because hosts have different CPUs, or when adding new hardware to an existing cluster.

First 30 seconds

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.

Operational verification

CPU baseline → guest features → migration allowed

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • 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.
Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse this when live migration fails because hosts have different CPUs, or when adding new hardware to an existing cluste…
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

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.

observation · 1
Key points
  • A VM keeps its CPU feature set until power-cycled.
  • EVC/compat mode trades features for mobility.
  • Mixed CPU generations need a common baseline.
Key checks
  • virsh cpu-baseline host1.xml host2.xml — common CPU model
  • Get-VMProcessor <vm> | fl CompatibilityForMigrationEnabled — Hyper-V compatibility
  • esxcli system settings advanced list -o /Migrate/Enabled — ESXi (EVC set in vCenter)
ReferenceWhy it matters1 section · depth on demand

Keeping CPUs compatible

PlatformFeature
vSphereEVC (Enhanced vMotion Compatibility) baseline per cluster
Hyper-VProcessor compatibility mode (per VM)
KVM/ProxmoxNamed 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

PlatformFeature
vSphereEVC mode per cluster (e.g. Intel "Sapphire Rapids", AMD "Zen 3")
Hyper-VProcessor compatibility mode
KVM/ProxmoxNamed 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:

PlatformFeature
VMwareEVC (Enhanced vMotion Compatibility) per cluster or per VM
Hyper-VProcessor compatibility mode (-CompatibilityForMigrationEnabled)
KVM/ProxmoxNamed 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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

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%
Confirmation

Confirm action

Continue?