Skip to content
BENIBIX Learn

Type 1 vs Type 2 Hypervisors

Level 1 · Virtual machines

The two kinds of hypervisor. One runs straight on the bare machine, for servers. The other runs as an app on your own laptop, for testing.

Course contentsLesson 2 of 11

After this lesson you can

  • Tell a type 1 from a type 2 hypervisor
  • Say where each one is used
  • Pick one for a task

9 mincovers 2 glossary entries

Worth reading first: Virtualization and VMs

Straight on the hardware, or on top of your system

There are two kinds of hypervisor. A type 1 hypervisor runs straight on the bare machine, with nothing under it. A type 2 hypervisor runs as an app inside a normal system like Windows or macOS. Clouds and data centres use type 1. People testing on a laptop use type 2.

The difference is what sits between the VMs and the hardware. Fewer layers means less waste and fewer things that can break. That is why the two end up with such different jobs.

A type 1 hypervisor is the system of the server. You install it in place of Windows or Linux. It does nothing but run VMs, so almost all of the machine goes to them. Big clouds run their own type 1 hypervisors on every server.

Linux can act as a type 1 hypervisor too. A part built into it lets the system run VMs almost as fast as the bare machine. Many clouds and home labs use that.

A type 2 hypervisor is an app, like a browser or a game. You open it on your laptop and start a VM in a window. It is slower, because each request passes through your own system first. But it takes a minute to set up.

Type 2 is how most people meet VMs first. A coder on a Mac runs Linux in a window to test a server setup. A student tries a new system without wiping the laptop.

The mistake is to run real work on a type 2 hypervisor on a desktop. When the laptop sleeps, updates or reboots, every VM on it stops. Real services belong on a type 1 host that stays on.

Which one to pick

  1. 1

    Pick type 1

    When the VMs run real services, on a server that stays on day and night.

  2. 2

    Pick type 2

    When you want to try a system or test a setup on your own laptop.

Type 1 sits on the bare machine. Type 2 has a whole system under it, which costs speed.

Worked example

Lucy tests before she rents

Lucy wants to try a server setup before she pays for one. She puts a type 2 app on her laptop. Then she starts an Ubuntu VM in a window.

She breaks it twice, starts over each time in 5 minutes, then rents a real server. Her provider runs it on a type 1 hypervisor, alongside dozens of other VMs.

The words for this lesson2

Check yourself

Which kind of hypervisor do big clouds run on their servers?

Finished this lesson?

Marking it complete also marks its 2 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.