Pcornel
Virtualization

Virtualization Fundamentals

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

Back to the Topic

Answer

Virtualization Fundamentals is the base model for understanding how one physical system can present isolated virtual execution environments while sharing and scheduling underlying CPU, memory, storage, network and device resources.

Remember

  • Virtualization separates a logical execution environment from the physical resource that ultimately backs it.
  • A hypervisor controls or mediates virtual-machine access to physical resources; a VM is the configured/running virtual computer exposed to a guest.
  • CPU virtualization and I/O virtualization solve different problems: VT-x/AMD-V are not the same capability as VT-d/AMD-Vi/IOMMU.
  • Allocated virtual resources are claims or scheduling inputs, not proof that equivalent physical capacity is continuously available.
  • A container normally shares a host kernel; a traditional VM normally runs its own guest kernel.

First checks

  • grep -cE 'vmx|svm' /proc/cpuinfo — CPU virtualization extensions present (KVM hosts)
  • virsh list --all — VMs defined and their state (libvirt)
  • Get-VM — VMs and state (Hyper-V)
  • esxcli vm process list — running VM worlds (ESXi)

Verify in this order

hardware support → hypervisor → VM (vCPU, memory, disk, NIC) → guest OS → application

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 reference map

BoundaryMeaningEvidence limit
Physical hostProvides real CPU, memory, devices and firmwareDoes not by itself define the guest abstraction
HypervisorCreates/controls VM execution and resource mediationHealthy hypervisor does not prove every guest is healthy
Virtual machineVirtual hardware configuration plus runtime statePowered on does not prove guest OS or workload health
Guest/workloadConsumes virtual hardware and delivers serviceGuest success does not prove spare host capacity

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

Confirmation

Confirm action

Continue?