Use it when planning online VM memory expansion or diagnosing why a runtime memory increase is not visible/usable in the guest.
Memory Hot Add
Hot-add expands the memory presented to the guest at runtime. The platform may have limits on maximum size, NUMA topology, slot layout or which guest OS can online the added memory.
1. Memory hot add needs guest support and configured maximum.
2. Linux may need memory blocks onlined.
3. Hot remove is less reliable.
4. Plan maximum in advance.
5. Verify in guest.
hotplug enabled → memory added → guest onlines
Check runtime placement/NUMA and workload behavior under peak use.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show optimal NUMA locality, unlimited future expansion or absence of host pressure.
Next check: Check runtime placement/NUMA and workload behavior under peak use.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
hot-add capability → runtime memory add → guest enumeration/online → allocator/application → workload
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.
- Hypervisor acceptance does not guarantee guest online/usable memory.
- Hot-add capability may need to be enabled before VM boot.
- Topology/NUMA can change when memory is expanded.
- Applications may not automatically exploit added memory.
virsh setmem <vm> 8G --live— change memory live within maxqm set <vmid> --memory 8192— Proxmox with hotplug enabledSet-VMMemory <vm> -StartupBytes 8GB— Hyper-V runtime resize (Gen2, 2016+)
ReferenceHow it works1 section · depth on demand
How it works
How it works: Guest virtual memory maps through guest page tables and virtualized MMU/EPT/NPT to host physical memory.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A successful management operation shows the hypervisor accepted the change, not that the guest or application can use the memory.
Platform-specific hot-add and NUMA constraints belong to Memory Virtualization/platform branches.
and state what the evidence does not show.
In depth
Memory hot add increases a running VM's memory. Platforms: VMware (enable while powered off), Hyper-V (static memory can be increased or decreased while running on Gen 2 with Server 2016+), Proxmox (hotplug: memory with NUMA enabled).
Set-VMMemory vm1 -StartupBytes 24GB # running Gen 2 VM, static memory
qm set 120 --hotplug disk,network,usb,memory --numa 1 --memory 24576
Linux guests may need memory blocks onlined (auto_online_blocks / udev rule); verify with free -h and lsmem.
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 VM Hardware → Memory → Memory Hot Add. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%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.
Quick lookup tables
VM Hardware → Memory → Memory Hot Add reference map
Fast VM-hardware boundaries for VM Hardware → Memory → Memory Hot Add.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Feature enabled | VM allows memory hot-add | Prerequisite |
| Runtime add | Hypervisor expands mapping | Control plane |
| Guest online | OS can use new memory | Guest proof |
| Application | Can consume expanded memory | Workload proof |