Use this when pausing a VM with its memory saved to disk.
Suspend
Suspending a VM saves its memory and device state to disk and stops it, so it can later resume without rebooting. It frees CPU and RAM, but the saved state file uses disk space equal to the VM's memory.
1. Suspend/pause keeps RAM in host memory; save/hibernate writes it to disk.
2. Guest clock jumps on resume.
3. Network sessions may time out.
4. Not a backup.
5. Saved state needs disk space.
running → paused/saved → resume
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
- Suspending VMs with passthrough devices (usually not supported).
- Leaving VMs suspended for long periods; time and certificates drift.
Step 2 Things to know Narrow the fault
- Saved state needs disk space equal to VM memory.
- Guest clocks jump after resume; time sync must correct it.
- Network sessions to the guest usually time out while suspended.
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.
- The state file is about the size of the VM's RAM.
- A suspended VM is not a backup.
- Time drifts until resync after resume.
virsh suspend <vm>— pause in memory (libvirt)qm suspend <vmid> --todisk 1— hibernate to disk (Proxmox)Save-VM <vm>— save state (Hyper-V)
ReferenceWhy it matters1 section · depth on demand
In depth
Suspend (save state) writes the VM's memory and device state to disk and stops it; resume restores exactly that state. It is faster than shutdown/boot for long-running sessions but needs disk space equal to the VM's memory (.vmss, .vmrs/.bin, QEMU state files).
Caveats: the guest clock jumps on resume (tools/agents resync), network sessions may have timed out, and suspended VMs cannot always move to hosts with different CPUs.
ReferenceImportant terms & boundaries2 sections · depth on demand
Commands
| Platform | Command |
|---|---|
| KVM/libvirt | virsh managedsave vm01 (to disk) or virsh suspend (pause in RAM) |
| Proxmox | qm suspend 101 --todisk 1 |
| Hyper-V | Save-VM vm01 |
| vSphere | Suspend-VM vm01 |
Pause vs suspend
| Pause | Suspend (save to disk) | |
|---|---|---|
| Memory kept | In host RAM | Written to disk |
| Host RAM freed | No | Yes |
| Survives host reboot | No | Yes |
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 Virtual Machine Lifecycle → Suspend. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/docs.html · confidence 94%