Stop
Cheat sheet · https://pcornel.dk/topic.php?topic=3436
Answer
Stopping a VM (power off, virsh destroy, Stop-VM -TurnOff) cuts power immediately without a guest shutdown, like pulling the plug. Use it only when a clean shutdown is impossible, since it risks data loss.
Remember
- Power off is like pulling the plug.
- It risks data loss and file system errors.
- Use it only when a clean shutdown fails.
First checks
virsh destroy <vm>— hard stop (libvirt)!qm stop <vmid>— hard stop (Proxmox)Stop-VM <vm> -TurnOff— hard power off (Hyper-V)
Commands
virsh destroyvirsh destroy vm01qm stop 101
Verify in this order
stop → process killed → no guest flush
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.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3436