Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

CPU Hot Add

Direct answer

Hot-adding CPU changes guest-visible processor resources without a full VM power cycle when the platform and guest support online CPU addition.

When to use this

Use it when planning online VM CPU expansion or diagnosing why newly added processors are not usable by the guest or workload.

First 30 seconds

1. CPU hot add adds vCPUs without reboot.

2. Guest OS must support it; Linux may need udev to online CPUs.

3. May disable vNUMA on some platforms.

4. Set maximum vCPUs in advance.

5. Verify in guest: nproc.

Operational verification

hotplug enabled → vCPU added → guest onlines CPU

Evidence · next step

Check topology/NUMA placement and compare workload behavior before and after the change.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show optimal NUMA placement, linear scaling or support for CPU removal.

Next check: Check topology/NUMA placement and compare workload behavior before and after the change.

and state what the evidence does not show.

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 it when planning online VM CPU expansion or diagnosing why newly added processors are not usable by the guest or wo…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

hot-add capability/config → runtime add → guest enumeration/online state → scheduler → application scaling

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
  • Hypervisor acceptance of a hot-add request does not guarantee guest online/usage.
  • Guest OS editions/versions and topology rules can limit hot-add support.
  • Hot add usually increases count; removing CPUs online is a separate capability and may not be supported.
  • Application scaling after CPU addition is not automatic.
Key checks
  • qm set <vmid> --hotplug cpu,memory — enable hotplug (Proxmox)
  • virsh setvcpus <vm> 4 --live — add vCPUs live (libvirt)
  • Get-VMProcessor <vm> — Hyper-V (no vCPU hot add)
ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

A successful management action shows the platform accepted the request, but it does not show the guest onlined the CPU or the workload benefits.

Platform-specific hot-plug restrictions and scheduler/NUMA effects belong to CPU Virtualization/platform branches.

and state what the evidence does not show.

In depth

CPU hot add lets you add vCPUs to a running VM. Support varies: VMware (must be enabled while powered off, and enabling it disables vNUMA for that VM), Proxmox (hotplug: cpu with vcpus lower than cores), Hyper-V (no vCPU hot add; memory only).

qm set 120 --hotplug disk,network,usb,cpu --cores 8 --vcpus 4
qm set 120 --vcpus 6     # online

The guest OS must bring new CPUs online (Linux udev rule or echo 1 > /sys/devices/system/cpu/cpuN/online). For large VMs, prefer right-sizing over hot add because of the vNUMA trade-off.

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 VM Hardware → vCPU → CPU Hot Add. Documentation verification only; this is not observed lab or production Evidence.

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

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cpu hot addvcpu hotplughot add processor vm
Embedded reference data

Quick lookup tables

VM Hardware → vCPU → CPU Hot Add reference map

Fast VM-hardware boundaries for VM Hardware → vCPU → CPU Hot Add.

BoundaryMeaningEvidence limit
Feature enabledVM permits CPU hot-addPrerequisite only
Runtime addHypervisor changes VM CPU setNot guest proof
Guest onlineOS recognizes processorNot workload scaling
ApplicationUses new parallelismMust be verified
Confirmation

Confirm action

Continue?