What it means
A hypervisor is a layer of software or firmware that creates and runs virtual machines. A virtual machine is an isolated software computer that behaves just like a physical machine. It has its own processor, memory, storage, and network interface.
The physical computer that runs the hypervisor is known as the host machine. The virtual machines running on top of it are called guest machines or guests. The hypervisor controls how these guests share the physical hardware. It ensures that one guest cannot tamper with or crash another guest.
Hypervisors form the backbone of modern cloud computing. Without them, companies would have to buy a separate physical server for every single application they want to run.
How it works
Hypervisors manage the interaction between virtual operating systems and physical computer hardware. When an operating system inside a virtual machine wants to perform a task, such as reading data from memory or writing to a disk, the hypervisor translates that request so the real hardware can execute it safely.
There are two primary kinds of hypervisors:
- Type 1 hypervisors: Also called bare-metal hypervisors, these run directly on the physical hardware of the host computer. They do not need an underlying operating system to function. Because there is no middle operating system, Type 1 hypervisors offer high performance, tight security, and direct hardware control. They are the standard choice for enterprise data centers and public clouds.
- Type 2 hypervisors: Also called hosted hypervisors, these run as an application on top of an existing host operating system, such as Windows, macOS, or Linux. The host operating system manages the physical hardware, and the hypervisor coordinates with that operating system to request resources. Developers frequently use Type 2 hypervisors on personal laptops to test software in different environments.
Hypervisors allocate fixed or dynamic pools of resources to each guest. For example, a host server with 64 gigabytes of random access memory (RAM) might assign 8 gigabytes of RAM to four different virtual machines. The hypervisor enforces strict boundaries so that each guest only uses its allocated portion.
A real example
Consider a web hosting provider with a single high-end physical server. The server has 128 central processing unit (CPU) cores and 512 gigabytes of memory. If a customer only needs a small server to host a personal blog, renting the entire physical machine would waste computing capacity and money.
The provider installs a bare-metal hypervisor, such as VMware ESXi or the open-source KVM (Kernel-based Virtual Machine). Using the hypervisor, the provider carves the single server into dozens of smaller virtual machines. One customer might get a virtual machine with 2 CPU cores and 4 gigabytes of memory running Linux. Another customer on the same physical box might get a virtual machine running Windows Server.
Both guests run simultaneously. If one customer’s software crashes or suffers a security compromise, the hypervisor prevents the problem from spreading to the other customers on the same physical hardware.
Why it matters for builders and investors
For software builders, hypervisors provide flexibility and rapid experimentation. Engineers can spin up fresh virtual testing environments in seconds, test their code across multiple operating systems, and discard the environments when finished. This capability speeds up the software development lifecycle and reduces hardware costs for engineering teams.
For technology investors, hypervisors are the foundation of the multi-billion-dollar cloud infrastructure market. Companies like Amazon Web Services, Microsoft Azure, and Google Cloud rely on hypervisors to sell slices of their massive data centers to millions of customers. The efficiency of a hypervisor directly impacts a cloud provider’s profit margins. A hypervisor that uses fewer system resources allows the provider to pack more paying workloads onto fewer physical servers.
Hypervisors also matter for enterprise security. They provide strong hardware-level isolation. Regulated industries, such as banking and healthcare, depend on this isolation to keep sensitive customer data separate and secure in shared environments.
Common mix-ups
People often confuse hypervisors with containers, such as Docker. Both technologies isolate applications, but they work at different levels:
- Hypervisors vs. Containers: A hypervisor virtualizes hardware. Each virtual machine running on a hypervisor includes a full operating system kernel, device drivers, and applications. In contrast, containers virtualize the operating system. Containers share the host computer’s single operating system kernel, making them lighter and faster to boot than full virtual machines.
- Hypervisors vs. Emulators: An emulator mimics an entirely different hardware architecture using software. For example, an emulator can run smartphone software built for ARM processors on an Intel-based desktop. Emulation is slow because every instruction must be reinterpreted. A hypervisor does not translate across different architectures; it manages native hardware instructions directly, which makes it much faster.
Questions people ask
What is the difference between a Type 1 and Type 2 hypervisor?
A Type 1 hypervisor runs directly on the physical hardware without a host operating system. A Type 2 hypervisor runs as an application inside an existing operating system.
Do containers need a hypervisor to run?
No, traditional containers share the host operating system kernel and do not require a hypervisor. However, many cloud providers run containers inside virtual machines for extra security.
What are common examples of hypervisors?
Common Type 1 hypervisors include VMware ESXi, Microsoft Hyper-V, and KVM. Popular Type 2 hypervisors include VirtualBox and VMware Workstation.