1.2 Hypervisor
1.2 Hypervisor
run on the same hardware. Two main types of hypervisors exist: Type 1 and Type 2, each serving
different purposes and working in distinct environments.
Type 1 Hypervisor
Also known as a bare-metal hypervisor, this type runs directly on the physical hardware.
It is the most privileged program and functions similarly to an operating system, as seen in Figure 7-
1(a).
Type 1 hypervisors manage and run virtual machines (VMs), which are equivalent to processes in a
traditional OS.
Examples of Type 1 hypervisors include ESX Server, Xen, vSphere, and Hyper-V.
Type 2 Hypervisor
Also called a hosted hypervisor, this type relies on an existing operating system (the host OS) to
manage hardware and resources.
In this setup, the hypervisor runs as a regular process, typically on top of operating systems like
Windows, Linux, or macOS.
The guest OS runs inside a VM as if it were running on real hardware, but the hardware is simulated.
Figure 7-1(b) illustrates a Type 2 hypervisor, which acts like a normal application, with the host OS
handling the scheduling of resources.
Examples of Type 2 hypervisors include VMware Workstation, KVM, Parallels, and VMware Fusion.
Key Differences:
Type 1 hypervisors are typically used in enterprise environments due to their direct access to
hardware, making them more efficient for large-scale virtualization.
Type 2 hypervisors are more commonly used on personal machines, as they allow users to run
multiple operating systems without requiring a separate physical machine.