← All questions
Card 53 · Virtualisation

In host virtualisation, what is the difference between a type 1 and a type 2 hypervisor?

Answer

Type 1 hypervisor (native or bare-metal) runs directly on the hardware of the host. No operating system has to be installed first – the hypervisor is the operating system. It offers the best performance and is used in data centres. Examples: VMware ESXi, Microsoft Hyper-V Server, Citrix XenServer, KVM.

Type 2 hypervisor (hosted) runs as an application on a normal operating system (Windows, Linux, macOS) and uses its device drivers. There is one more layer, so performance is a bit lower – but it is easy to install and ideal for testing and development. Examples: VirtualBox, VMware Workstation.

For both types the CPU and BIOS/UEFI must support virtualisation: Intel VT-x or AMD-V.

Diagram

TYPE 1 – BARE METALVMVMHypervisorHardwareTYPE 2 – HOSTEDVMVMHypervisor (app)Host OSHardware

Key vocabulary

TermMeaningExample
hypervisorsoftware that runs virtual machinesThe hypervisor manages ten VMs on one server.
virtual machine (VM)a computer simulated by softwareI tested the update in a VM first.
bare metaldirectly on the hardware, without an OSESXi is installed on bare metal.
host / guestthe physical machine / the virtual machineThe host has 256 GB RAM; each guest gets 8 GB.
overheadextra resources needed for managementA type 2 hypervisor has more overhead.
to enable virtualisationto switch on VT-x/AMD-V in the BIOS/UEFIRemember to enable virtualisation in the UEFI.

Useful phrases

Talk about it

  1. Which hypervisor would you use for a home lab, and which for a company data centre? Why?
  2. Describe how you would set up a VM to test a new Linux distribution.
  3. What are the advantages of virtualisation for a small company?

IHK hint

German: Hypervisor Typ 1 (nativ, bare metal, direkt auf der Hardware) vs. Typ 2 (hosted, auf einem Host-Betriebssystem). Voraussetzung: Intel VT-x / AMD-V im BIOS/UEFI.