Pcornel
Virtualization · Proxmox VE

KVM Virtual Machines

Cheat sheet · https://pcornel.dk/topic.php?topic=3721

Back to the Topic

Answer

A VM has at least three separate truths: persistent configuration in Proxmox, QEMU runtime on the current node, and guest OS/application state inside the VM.

Remember

  • VM Running means QEMU is running, not that the guest finished booting.
  • Configured disk/NIC entries do not prove backing paths are healthy.
  • Guest-agent data is useful but not equivalent to application health.
  • Migration eligibility depends on CPU/device/storage/network constraints beyond VM power state.

First checks

  • qm list — VMs on node
  • qm config <vmid> — configuration
  • qm status <vmid> --verbose — runtime state

Commands

qm list
List QEMU virtual machines and state.
qm status <vmid>
QEMU VM running/stopped state.
qm showcmd

Verify in this order

config → qm → QEMU process → guest

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Proxmox VE → KVM Virtual Machines reference map

BoundaryWhat to verifyEvidence limit
Configured stateExpected KVM Virtual Machines configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant KVM Virtual Machines service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3721

Confirmation

Confirm action

Continue?