Xen Hypervisor
• What is the Xen Hypervisor?
• Xen is a type-1 (bare-metal) hypervisor, meaning it runs directly on
the hardware, not on top of an operating system. It allows multiple
virtual machines (VMs) to run on a single physical machine by
abstracting the hardware.
• Key Features of Xen:
• Open-source hypervisor (initially developed at the University of
Cambridge).
• Used in cloud platforms like Amazon EC2.
• Supports paravirtualization and hardware-assisted virtualization.
• Can run multiple guest OSes like Linux, Windows, BSD, etc.
• Xen Architecture Overview:
• Dom0 (Domain 0):
• The first VM started by the Xen hypervisor.
• Has special privileges.
• Manages other VMs (called DomUs).
• Runs a full OS (often Linux).
• DomU (User Domains):
• Guest VMs.
• Managed by Dom0.
• Hypervisor Layer:
• Runs beneath all domains.
• Manages CPU, memory, interrupts, etc.
• What Does Bare-Metal Mean?
• Bare-metal refers to physical hardware — the actual physical server
or computer, without any operating system on it.
• In Context of Hypervisors:
• A bare-metal hypervisor (aka Type-1 hypervisor) installs directly on
the physical machine.
• It doesn't need an OS like Windows or Linux to run underneath it.
• It controls the hardware directly, and then it creates and manages
virtual machines (VMs).
Difference b/w xen and Hyper V
Feature Xen Hyper-V
Type Type-1 (bare-metal) Type-1 (bare-metal)
Originally University of Cambridge, now maintained by
Developer Developed by Microsoft
Xen Project (part of Linux Foundation)
Proprietary, but available free with Windows (some
License Open-source (GPLv2)
parts open)
Runs on Windows Server or Windows 10/11
Host OS Uses Dom0 (usually Linux) to manage VMs
Pro/Enterprise
Guest OS Support Linux, Windows, BSD, etc. Windows (best support), Linux, FreeBSD
Paravirtualization Yes (strong support) Limited – mainly uses hardware virtualization
Cloud Usage Used in Amazon EC2, Citrix XenServer Used in Microsoft Azure
Management Tools xl, xm, XenCenter (Citrix), etc. Hyper-V Manager, PowerShell, System Center
Performance Lightweight, customizable Optimized for Windows environments
Enterprise Windows environments, DevOps, hybrid
Use Case Data centers, cloud providers, Linux environments
cloud