Glossary termSystem software

Hypervisor

Also known as: Virtual machine monitor, VMM

Software, firmware or hardware layer that creates and runs virtual machines, allocating physical resources among them and keeping them isolated.

A hypervisor, also called a virtual machine monitor, is the component that makes virtualization work. It sits between physical hardware and one or more guest operating systems, presenting each guest with virtual processors, memory, storage and network devices while enforcing isolation between them. The name extends the older term supervisor, once used for an operating system kernel: a hypervisor supervises the supervisors. When a guest attempts a privileged operation, the hypervisor intercepts or mediates it so that no guest can interfere with the host or with other guests.

Hypervisors are commonly divided into two types. Type 1, or bare-metal, hypervisors run directly on the hardware and are standard in data centers; examples include VMware ESXi, Microsoft Hyper-V and Xen. Type 2, or hosted, hypervisors run as applications on a conventional operating system, as with Oracle VirtualBox and VMware Workstation, and are popular on desktops. The Linux kernel's KVM module blurs the line by turning Linux itself into a hypervisor, usually paired with QEMU for device emulation; Proxmox VE builds on this combination. Hardware extensions such as Intel VT-x and AMD-V let guests run most instructions natively.

Because the hypervisor controls everything beneath its guests, its security is critical. A flaw that lets code escape from a guest into the hypervisor can compromise every virtual machine on the host, which is especially serious in multi-tenant clouds. Designers therefore try to keep hypervisor code small and auditable, and some security-focused systems, such as Qubes OS, use a hypervisor to compartmentalize everyday computing. Features such as live migration, snapshots and resource overcommitment support high availability and efficient use of hardware in large server fleets.

Key points

  • Type 1 hypervisors run directly on hardware, while type 2 hypervisors run on top of a host operating system.
  • KVM turns the Linux kernel into a hypervisor and is often combined with QEMU.
  • Hardware virtualization extensions from Intel and AMD let guest code run at close to native speed.
  • A guest-to-host escape is among the most serious classes of virtualization vulnerability.

Related entries

Glossary term

Virtualization

DevOpsHardware

Technique of creating software-based versions of computers, storage or networks so that one physical machine can host many isolated environments.

Glossary term

Software implementation of a computer that runs its own operating system or programs in isolation from the physical hardware beneath it.

Technology

QEMU

DevOpsFOSS

Free and open-source machine emulator and virtualizer that runs operating systems and programs built for one processor architecture on another.

Technology

Proxmox VE

DevOpsFOSSHardware

Open-source server virtualization platform based on Debian that manages KVM virtual machines and Linux containers through a web interface.

Technology

Qubes OS

OPSECCybersecurityFOSS

Security-focused desktop operating system that isolates different activities in separate virtual machines on the Xen hypervisor to contain compromises.

Glossary term

Delivery of computing resources such as servers, storage, databases and software over a network on demand, with users paying for what they use.

Glossary term

Homelab

HardwareDevOpsAI

Personal computing environment used to experiment with servers, networking, virtualization and other technologies for learning, testing or self-hosting.

Glossary term

Sandboxing

Cybersecurity

Security technique that runs programs in a restricted, isolated environment so that malicious or faulty code cannot harm the rest of the system.

Featured in guides