A hypervisor is software that creates and manages virtual machines by dividing physical hardware into virtual resources. Each virtual machine runs its own operating system and kernel, allowing applications in separate machines to be isolated. section 2.1.1
Hypervisors shape how virtual machines use hardware:
- A virtual machine sends system calls to its guest operating-system kernel; the hypervisor forwards the kernel’s instructions from virtual CPUs to the host’s physical CPU. section 2.1.1
- Type 1 hypervisors run without a host operating system, while type 2 hypervisors run on top of one. section 2.1.1
- Unlike virtual machines, containers share the host kernel and rely on kernel-based isolation rather than CPU virtualization. section 2.1.1
Figure 2.2 How apps use the hardware when running in a VM vs. in a container
Trace how an application’s calls and instructions travel through a virtual machine, hypervisor, and physical hardware. section 2.1.1


