Free tech learning for everyone, from basics to pro

VirtualizationSystems ArchitectureBeginner

Hypervisors: type 1 versus type 2

In short: A hypervisor shares one physical computer between several virtual machines. Type 1 hypervisors run directly on the hardware and power data centres; type 2 hypervisors run as an application on a normal operating system and suit labs and desktops. Modern CPUs include features that make both efficient.

What a hypervisor does

A hypervisor, also called a virtual machine monitor, is software that creates and runs virtual machines (VMs). Each VM believes it has its own CPU, memory, disk and network card. The hypervisor schedules the real CPU between VMs, gives each a slice of memory, and keeps them isolated so a crash or compromise in one does not affect the others. For the wider idea, see virtualisation basics.

Type 1 versus type 2Type 1 (bare metal)Runs directly on hardwareESXi, Hyper-V, KVMData centre serversLower overheadSmaller attack surfaceType 2 (hosted)Runs on a host OSVirtualBox, WorkstationLaptops and labsExtra OS layerEasy to install
Figure 1. Both run virtual machines; the difference is what sits underneath the hypervisor.

Type 1: bare-metal

Type 1 stackGuest VMsWindows, LinuxHypervisorschedules CPU, RAMHardwareVT-x or AMD-V
Figure 2. A type 1 hypervisor sits directly on the hardware and shares it between guests.

A type 1 hypervisor is installed directly on the server instead of a normal operating system. Examples include VMware ESXi, Microsoft Hyper-V, KVM (built into the Linux kernel, used by Proxmox VE and many clouds) and Xen. Because there is no general-purpose OS underneath, overhead is low and there is less code for an attacker to target. Type 1 hypervisors are managed remotely, often through a central console such as VMware vCenter, System Center or the Proxmox web interface.

Hyper-V is sometimes confused for type 2 because you add it from Windows. In fact, once enabled, Hyper-V sits beneath Windows, and Windows itself becomes a special privileged partition. KVM similarly turns Linux into a hypervisor.

Type 2: hosted

A type 2 hypervisor runs as an application on an existing operating system. Examples are Oracle VirtualBox, VMware Workstation and VMware Fusion on macOS. It is easy to install and ideal for learning, testing software and running a home lab on a laptop. The trade-off is that every request passes through the host OS, which adds overhead, and a problem with the host affects every VM.

ScenarioSensible choiceWhy
Student lab on a laptopType 2 (VirtualBox, Workstation)Runs alongside your normal desktop
Home lab on a spare PCType 1 (Proxmox VE, Hyper-V Server role)Better performance, closer to real work
Company data centreType 1 with central managementHigh availability, live migration, scale
Public cloudProvider's type 1 (often KVM-based)You rent VMs; the provider runs the hypervisor

Hardware support and practical tips

Modern CPUs include virtualisation extensions: Intel VT-x and AMD-V for running guest code efficiently, plus EPT/NPT (second-level address translation) for fast memory mapping. VT-d or AMD-Vi (IOMMU) allows a physical device such as a GPU or NIC to be passed directly to one VM. These are often disabled in the firmware by default, so enable them in the BIOS or UEFI before installing a hypervisor.

Overcommit means giving VMs more virtual CPUs or memory in total than the host physically has, on the basis that they will not all be busy at once. It improves density but can cause slowdowns if pushed too far. Watch CPU ready time and memory ballooning or swapping as warning signs.

Tip: licensing and vendor changes affect hypervisor choice. Broadcom's changes to VMware licensing after its 2023 acquisition led many organisations to review alternatives, so check current terms rather than relying on old assumptions.

Practice

Is VirtualBox a type 1 or type 2 hypervisor?
Type 2: it runs as an application on a host operating system.
Why do type 1 hypervisors usually have a smaller attack surface?
There is no full general-purpose operating system beneath them, so there is less code and fewer services to exploit.
A hypervisor will not start any VMs on a new PC. What firmware setting should you check?
That Intel VT-x or AMD-V virtualisation support is enabled in the BIOS or UEFI.

Key takeaways

  • A hypervisor shares hardware between isolated virtual machines.
  • Type 1 runs on bare metal: ESXi, Hyper-V, KVM, Xen.
  • Type 2 runs on a host OS: VirtualBox, VMware Workstation.
  • Enable VT-x or AMD-V (and IOMMU for passthrough) in firmware.
  • Overcommit carefully and monitor for contention.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.