liveBook · Manning

Hypervisor

As explained in Kubernetes in Action, Second Edition

A hypervisor is software that creates and manages virtual machines by allocating physical hardware resources to them.

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
figure

Trace how an application’s calls and instructions travel through a virtual machine, hypervisor, and physical hardware. section 2.1.1

How Kubernetes in Action, Second Edition covers it

How deep it goes
Explains resource splitting, syscall forwarding, CPU virtualization, and type distinctions without detailing hypervisor implementation.
Examples
Uses diagrams comparing applications running on bare metal, in virtual machines, and in containers.
What you can do after
Evaluate how virtual machines isolate applications and differ from containers in startup, kernel sharing, and hardware access.
How it connects
Connects hypervisors to virtual machines, guest operating systems, host operating systems, kernels, containers, and CPU virtualization.

Also explained in

Compare how 3 books explain hypervisor →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Kubernetes in Action, Second Edition. The section links point to the parts of the book it draws on.