Pcornel
Virtualization · Virtualization Fundamentals

Virtual Machine

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

Back to the Topic

Answer

A VM presents CPUs, memory, firmware, controllers, disks, NICs and other virtual devices to a guest. Its configuration can exist while powered off; when started, the hypervisor creates runtime state for the virtual hardware and guest execution.

Remember

  • VM configuration can exist without a running guest.
  • A VM is more than a process name; its runtime may include hypervisor contexts, worker processes and device backends depending on platform.
  • Virtual hardware identity is decoupled from physical hardware identity.
  • Snapshots/checkpoints, migration and cloning change VM state/history but do not redefine the VM concept.

First checks

  • virsh dumpxml <vm> — full VM definition (libvirt)
  • qm config <vmid> — Proxmox VM config
  • Get-VM <vm> | fl * — Hyper-V VM properties

Commands

virsh dumpxml

Verify in this order

config → virtual hardware → disks on storage → running process

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.

Virtualization Fundamentals → Virtual Machine reference map

BoundaryMeaningEvidence limit
ConfigurationPersistent VM definitionCan exist while VM is off
RuntimeActive execution contextRunning ≠ guest healthy
Virtual devicesGuest-facing hardware modelAttachment ≠ healthy backing
Guest stateOS inside VMIndependent health layer

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

Confirmation

Confirm action

Continue?