Virtualization Fundamentals
Cheat sheet · https://pcornel.dk/topic.php?topic=3398
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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Physical host | Provides real CPU, memory, devices and firmware | Does not by itself define the guest abstraction |
| Hypervisor | Creates/controls VM execution and resource mediation | Healthy hypervisor does not prove every guest is healthy |
| Virtual machine | Virtual hardware configuration plus runtime state | Powered on does not prove guest OS or workload health |
| Guest/workload | Consumes virtual hardware and delivers service | Guest 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