Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Host CPU Model

Direct answer

The host CPU model setting decides which CPU the guest sees: a generic or baseline model (for example x86-64-v2 or an EVC level) maximizes migration compatibility, while host-model or host-passthrough exposes more features and speed.

When to use this

Use this when choosing which CPU model a VM sees, balancing performance features against live-migration compatibility.

First 30 seconds

1. The host CPU model determines what can be offered to guests.

2. host-model copies features but stays migratable to same/newer.

3. Know CPU generations in the cluster.

4. Microcode updates can change flags.

5. Record CPU inventory.

Operational verification

physical CPU → hypervisor CPU model → guest

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using kvm64 and losing AES-NI, slowing encryption heavily.
  • Choosing host on clusters with different CPU generations.
  • Windows guests failing to boot on x86-64-v3 with older CPUs in the cluster.
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 choosing which CPU model a VM sees, balancing performance features against live-migration compatibility.
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
  • Generic model = portable but fewer features.
  • Changing model needs a VM restart.
  • Guest OS may require certain features (e.g. x86-64-v2).
Key checks
  • virsh capabilities | grep -A2 '<model' — host CPU model
  • lscpu | grep 'Model name' — physical CPU
  • virsh domcapabilities | grep -A3 host-model — host-model expansion
ReferenceWhy it matters1 section · depth on demand

Choosing a model

  • Mixed CPU generations in a cluster: use a baseline model (KVM named model or x86-64-v2/v3, vSphere EVC mode, Hyper-V processor compatibility mode).
  • Same CPU everywhere and no migration to older hosts: host/passthrough for best performance.

Check from the guest with lscpu (flags) or coreinfo on Windows. Some guest software (for example newer RHEL 9 needs x86-64-v2) fails on too-old models.

ReferenceImportant terms & boundaries2 sections · depth on demand

Proxmox/QEMU models

ModelIncludesUse
kvm64Very old baselineAvoid (missing AES, AVX)
x86-64-v2-AESSSE4.2, POPCNT, AESProxmox 8 default, mixed clusters
x86-64-v3AVX2, BMI, FMAHaswell/Zen 1 and newer
hostAll host featuresSingle host or identical hosts

In depth

The host CPU model and generation determine available features, per-core performance and licensing costs (many products license per core). Mixed generations in a cluster force the lowest common baseline.

lscpu | grep -E 'Model name|Socket|Core|Thread|NUMA'
esxcli hardware cpu global get
Get-CimInstance Win32_Processor | Select Name,NumberOfCores

When refreshing hardware, plan the migration path: temporarily lower the baseline (EVC or CPU model) during the transition, then raise it after old hosts leave.

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 → Host CPU Model. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?