Use VM Lifecycle when the observed symptom, desired state or change boundary belongs to hypervisor, VM/container lifecycle, virtual networking, cluster, storage or capacity. Start with read-only discovery and preserve the exact host, object and time context.
Virtual Machine Lifecycle
Provisioning, start/stop, snapshots/checkpoints, migration and safe retirement of virtual machines.
1. Lifecycle: create, start, shutdown/stop, suspend/resume, clone, migrate, delete.
2. Use graceful operations by default.
3. Know which operations lose data (stop, reset).
4. Record changes.
5. Clean up unused VMs and disks.
create → run → pause/save → shutdown → delete
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 Operational verification Verify boundary
Provisioning, start/stop, snapshots/checkpoints, migration and safe retirement of virtual machines.
Fast verification
- Capture the VM configuration and dependency state before start/stop/migrate/snapshot operations.
- Verify snapshot/checkpoint semantics and backing-chain health before rollback or deletion.
- For migration, validate CPU compatibility, network reachability and shared/transferable storage first.
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.
Subtopics
Go one level deeper into this subject.
Creating a VM means choosing host or cluster and storage, guest OS type, firmware (UEFI/BIOS), vCPU, memory, disks, controller and NIC types, then installing the OS from ISO or deploying from a template or image.
Subtopic StartStarting a VM powers it on: the hypervisor checks resources and admission control, allocates memory and devices, and boots the guest firmware.
Subtopic StopStopping a VM (power off, virsh destroy, Stop-VM -TurnOff) cuts power immediately without a guest shutdown, like pulling the plug.
Subtopic ShutdownShutting down a VM asks the guest OS to stop cleanly through guest tools or an ACPI power button event, so services and file systems close properly.
Subtopic ResetResetting a VM is a hard reboot, like pressing a physical reset button: the guest gets no chance to shut down cleanly, so unsaved data and file systems can be affected.
Subtopic SuspendSuspending a VM saves its memory and device state to disk and stops it, so it can later resume without rebooting.
Subtopic ResumeResuming a VM restores a suspended VM from its saved memory state so it continues exactly where it stopped.
Subtopic CloneCloning a VM copies its disks and configuration into a new VM, either as a full independent copy or a linked clone.
Subtopic DeleteDeleting a VM removes it from inventory and, depending on the option, its disk files too (Delete from disk vs Remove from inventory, virsh undefine --remove-all-storage).
Subtopic ImportImporting a VM brings an exported VM or disk into a hypervisor (OVF/OVA deploy, Import-VM, qm importdisk, virt-v2v).
Subtopic ExportExporting a VM packages its configuration and disks into a portable format — OVF/OVA, Hyper-V export folder, qcow2 or VMDK — for backup, transfer to another environment or conversion to another hypervisor.
Subtopic VM StateVM state is a VM's current power and runtime condition — running, powered off, suspended or saved, paused, or in transition such as migrating.
- Separate guest, virtual device, hypervisor, cluster, physical network and storage boundaries
- Snapshots/checkpoints are not independent backups
- Cluster membership, quorum, ownership and shared storage determine safe recovery actions
- VM Lifecycle must be verified from intended configuration through effective state, dependency health and consumer-visible outcome.
- Record platform/version, scope, timestamp and the evidence boundary before remediation.
virsh list --all— VM statesqm list— Proxmox VMsGet-VM | ft Name,State— Hyper-V states
ReferenceWhat it is2 sections · depth on demand
Operational scope
Provisioning, start/stop, snapshots/checkpoints, migration and safe retirement of virtual machines.
What it is
Provisioning, start/stop, snapshots/checkpoints, migration and safe retirement of virtual machines.
ReferenceWhy it matters1 section · depth on demand
Why it matters operationally
The useful outcome is not simply knowing a definition; it is being able to decide whether VM Lifecycle is healthy, misconfigured, missing, or only a symptom of a failure somewhere else.
ReferenceHow it works1 section · depth on demand
How it works
Provisioning, start/stop, snapshots/checkpoints, migration and safe retirement of virtual machines.
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. 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 Lifecycle evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | virsh dominfo <vm> | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | guest workload → virtual device/switch/disk → hypervisor process → cluster ownership/quorum → physical network/storage → application outcome | application success |