Original author(s)Keir Fraser, Steven Hand, Ian Pratt, University of Cambridge Computer Laboratory
Developer(s)Linux Foundation
Initial releaseOctober 2, 2003; 20 years ago (2003-10-02)[1][2]
Stable release
4.18.0[3] Edit this on Wikidata / 17 November 2023; 7 months ago (17 November 2023)
Written inC

Xen (pronounced /ˈzɛn/) is a free and open-source type-1 hypervisor, providing services that allow multiple computer operating systems to execute on the same computer hardware concurrently. It was originally developed by the University of Cambridge Computer Laboratory and is now being developed by the Linux Foundation with support from Intel, Citrix, Arm Ltd, Huawei, AWS, Alibaba Cloud, AMD, Bitdefender and epam.

The Xen Project community develops and maintains Xen Project as free and open-source software, subject to the requirements of the GNU General Public License (GPL), version 2. Xen Project is currently available for the IA-32, x86-64 and ARM instruction sets.[4]

Software architecture

Xen Project runs in a more privileged CPU state than any other software on the machine, except for firmware.

Responsibilities of the hypervisor include memory management and CPU scheduling of all virtual machines ("domains"), and for launching the most privileged domain ("dom0") - the only virtual machine which by default has direct access to hardware. From the dom0 the hypervisor can be managed and unprivileged domains ("domU") can be launched.[5]

The dom0 domain is typically a version of Linux or BSD. User domains may either be traditional operating systems, such as Microsoft Windows under which privileged instructions are provided by hardware virtualization instructions (if the host processor supports x86 virtualization, e.g., Intel VT-x and AMD-V),[6] or paravirtualized operating systems whereby the operating system is aware that it is running inside a virtual machine, and so makes hypercalls directly, rather than issuing privileged instructions.

Xen Project boots from a bootloader such as GNU GRUB, and then usually loads a paravirtualized host operating system into the host domain (dom0).


Xen originated as a research project at the University of Cambridge led by Ian Pratt, a senior lecturer in the Computer Laboratory, and his PhD student Keir Fraser. The first public release of Xen was made in 2003, with v1.0 following in 2004. Soon after, Pratt and Fraser along with other Cambridge alumni including Simon Crosby and founding CEO Nick Gault created XenSource Inc. to turn Xen into a competitive enterprise product.

To support embedded systems such as smartphone/ IoT with relatively scarce hardware computing resources, the Secure Xen ARM architecture on an ARM CPU was exhibited at Xen Summit on April 17, 2007, held in IBM TJ Watson.[7][8] The first public release of Secure Xen ARM source code was made at Xen Summit on June 24, 2008[9][10] by Sang-bum Suh,[11] a Cambridge alumnus, in Samsung Electronics.

On October 22, 2007, Citrix Systems completed its acquisition of XenSource,[12] and the Xen Project moved to the xen.org domain. This move had started some time previously, and made public the existence of the Xen Project Advisory Board (Xen AB), which had members from Citrix, IBM, Intel, Hewlett-Packard, Novell, Red Hat, Sun Microsystems and Oracle. The Xen Advisory Board advises the Xen Project leader and is responsible for the Xen trademark,[13] which Citrix has freely licensed to all vendors and projects that implement the Xen hypervisor.[14] Citrix also used the Xen brand itself for some proprietary products unrelated to Xen, including XenApp and XenDesktop.

On April 15, 2013, it was announced that the Xen Project was moved under the auspices of the Linux Foundation as a Collaborative Project.[15] The Linux Foundation launched a new trademark for "Xen Project" to differentiate the project from any commercial use of the older "Xen" trademark. A new community website was launched at xenproject.org[16] as part of the transfer. Project members at the time of the announcement included: Amazon, AMD, Bromium, CA Technologies, Calxeda, Cisco, Citrix, Google, Intel, Oracle, Samsung, and Verizon.[17] The Xen project itself is self-governing.[18]

Since version 3.0 of the Linux kernel, Xen support for dom0 and domU exists in the mainline kernel.[19]

Release history

Version Release date Notes
1.0 October 2, 2003[1][2]
2.0 November 5, 2004[20] Live migration of PV guests.
3.0 December 5, 2005[21][22]

The releases up to 3.0.4 also added:

3.1 May 18, 2007[26] Live migration for HVM guests, XenAPI
3.2 January 17, 2008[27] PCI passthrough and ACPI S3 standby mode for the host system.
3.3 August 24, 2008[28] Improvements for the PCI passthrough and the power management. Xen ARM hypervisor source code released for ARM CPU support
3.4 May 18, 2009[29] Contains a first version of the "Xen Client Initiative", shortly XCI.
4.0 April 7, 2010[30] Makes it possible to use a dom0 Linux kernel, which has been implemented by using PVOps. A Linux kernel of version 2.6.31 has been modified for this purpose, because the official Linux kernel actually does not support the usage as dom0 kernel (date July 2010).[31]
4.1 March 25, 2011[32] Some of the improvements: Support for more than 255 processors, better stability. Linux kernel v2.6.37 and onward support usage as dom0 kernel.[33]
4.2 September 8, 2012[34] XL became the default toolstack. Support for up to 4095 host processors and up to 512 guest processors.
4.3 July 9, 2013[35] Experimental ARM support. NUMA-aware scheduling. Support for Open vSwitch.
4.4 March 10, 2014[36] Solid libvirt support for libxl, new scalable event channel interface, hypervisor ABI for ARM declared stable, Nested Virtualization on Intel hardware.[37][38]
4.5 January 17, 2015[39] With 43 major new features, 4.5 includes the most updates in the project's history.[39]
4.6 October 13, 2015[34] Focused on improving code quality, security hardening, enablement of security appliances, and release cycle predictability.[34]
4.7 June 24, 2016[40] Improved: security, live migrations, performances and workload. Hardware support (ARM and Intel Xeon).[41]
4.8.1 April 12, 2017[42]
4.9 June 28, 2017[43] Xen Project 4.9 Release Notes
4.10 December 12, 2017[44] Xen Project 4.10 Release Notes
4.11 July 10, 2018[45] Xen Project 4.11 Release Notes
4.12 April 2, 2019[46] Xen Project 4.12 Release Notes
4.13 December 18, 2019[47] Xen Project 4.13 Release Notes
4.14 July 24, 2020 Xen Project 4.14 Release Notes
4.15 April 8, 2021 Xen Project 4.15 Release Notes
4.16 December 2, 2021 Xen Project 4.16 Release Notes
4.17 December 14, 2022 Xen Project 4.17 Release Notes
4.18 November 23, 2023 Xen Project 4.18 Release Notes


This article needs to be updated. Please help update this article to reflect recent events or newly available information. (May 2016)

Internet hosting service companies use hypervisors to provide virtual private servers. Amazon EC2 (from August 2006 to November 2017),[48] IBM SoftLayer,[49] Liquid Web, Fujitsu Global Cloud Platform,[50] Linode, OrionVM[51] and Rackspace Cloud use Xen as the primary VM hypervisor for their product offerings.[52]

Virtual machine monitors (also known as hypervisors) also often operate on mainframes and large servers running IBM, HP, and other systems.[citation needed] Server virtualization can provide benefits such as:

Xen's support for virtual machine live migration from one host to another allows load balancing and the avoidance of downtime.

Virtualization also has benefits when working on development (including the development of operating systems): running the new system as a guest avoids the need to reboot the physical computer whenever a bug occurs. Sandboxed guest systems can also help in computer-security research, allowing study of the effects of some virus or worm without the possibility of compromising the host system.

Finally, hardware appliance vendors may decide to ship their appliance running several guest systems, so as to be able to execute various pieces of software that require different operating systems. [citation needed]

Types of virtualization

Xen offers five approaches to running the guest operating system:[53][54][55]

Xen provides a form of virtualization known as paravirtualization, in which guests run a modified operating system. The guests are modified to use a special hypercall ABI, instead of certain architectural features. Through paravirtualization, Xen can achieve high performance even on its host architecture (x86) which has a reputation for non-cooperation with traditional virtualization techniques.[56][57] Xen can run paravirtualized guests ("PV guests" in Xen terminology) even on CPUs without any explicit support for virtualization. Paravirtualization avoids the need to emulate a full set of hardware and firmware services, which makes a PV system simpler to manage and reduces the attack surface exposed to potentially malicious guests. On 32-bit x86, the Xen host kernel code runs in Ring 0, while the hosted domains run in Ring 1 (kernel) and Ring 3 (applications).

CPUs that support virtualization make it possible to run unmodified guests, including proprietary operating systems (such as Microsoft Windows). This is known as hardware-assisted virtualization, however, in Xen this is known as hardware virtual machine (HVM). HVM extensions provide additional execution modes, with an explicit distinction between the most-privileged modes used by the hypervisor with access to the real hardware (called "root mode" in x86) and the less-privileged modes used by guest kernels and applications with "hardware" accesses under complete control of the hypervisor (in x86, known as "non-root mode"; both root and non-root mode have Rings 0–3). Both Intel and AMD have contributed modifications to Xen to exploit their respective Intel VT-x and AMD-V architecture extensions.[58] Use of ARM v7A and v8A virtualization extensions came with Xen 4.3.[59] HVM extensions also often offer new instructions to allow direct calls by a paravirtualized guest/driver into the hypervisor, typically used for I/O or other operations needing high performance. These allow HVM guests with suitable minor modifications to gain many of the performance benefits of paravirtualized I/O. In current versions of Xen (up to 4.2) only fully virtualized HVM guests can make use of hardware facilities for multiple independent levels of memory protection and paging. As a result, for some workloads, HVM guests with PV drivers (also known as PV-on-HVM, or PVH) provide better performance than pure PV guests. Xen HVM has device emulation based on the QEMU project to provide I/O virtualization to the virtual machines. The system emulates hardware via a patched QEMU "device manager" (qemu-dm) daemon running as a backend in dom0. This means that the virtualized machines see an emulated version of a fairly basic PC. In a performance-critical environment, PV-on-HVM disk and network drivers are used during the normal guest operation, so that the emulated PC hardware is mostly used for booting.


Administrators can "live migrate" Xen virtual machines between physical hosts across a LAN without loss of availability. During this procedure, the LAN iteratively copies the memory of the virtual machine to the destination without stopping its execution. The process requires a stoppage of around 60–300 ms to perform final synchronization before the virtual machine begins executing at its final destination, providing an illusion of seamless migration. Similar technology can serve to suspend running virtual machines to disk, "freezing" their running state for resumption at a later date.

Xen can scale to 4095 physical CPUs, 256 VCPUs per HVM guest, 512 VCPUs per PV guest, 16 TB of RAM per host, and up to 1 TB of RAM per HVM guest or 512 GB of RAM per PV guest.[60]


The Xen hypervisor has been ported to a number of processor families:


Xen can be shipped in a dedicated virtualization platform, such as XCP-ng or XenServer (formerly Citrix Hypervisor, and before that Citrix XenServer, and before that XenSource's XenEnterprise).

Alternatively, Xen is distributed as an optional configuration of many standard operating systems. Xen is available for and distributed with:


Guest systems can run fully virtualized (which requires hardware support), paravirtualized (which requires a modified guest operating system), or fully virtualized with paravirtualized drivers (PVHVM[73]).[74] Most operating systems which can run on PCs can run as a Xen HVM guest. The following systems can operate as paravirtualized Xen guests:

Xen version 3.0 introduced the capability to run Microsoft Windows as a guest operating system unmodified if the host machine's processor supports hardware virtualization provided by Intel VT-x (formerly codenamed Vanderpool) or AMD-V (formerly codenamed Pacifica). During the development of Xen 1.x, Microsoft Research, along with the University of Cambridge Operating System group, developed a port of Windows XP to Xen — made possible by Microsoft's Academic Licensing Program. The terms of this license do not allow the publication of this port, although documentation of the experience appears in the original Xen SOSP paper.[78] James Harper and the Xen open-source community have started developing free software paravirtualization drivers for Windows. These provide front-end drivers for the Xen block and network devices and allow much higher disk and network performance for Windows systems running in HVM mode. Without these drivers all disk and network traffic has to be processed through QEMU-DM.[79] Subsequently, Citrix has released under a BSD license (and continues to maintain) PV drivers for Windows.[80]


Third-party developers have built a number of tools (known as Xen Management Consoles) to facilitate the common tasks of administering a Xen host, such as configuring, starting, monitoring and stopping of Xen guests. Examples include:

Commercial versions

The Xen hypervisor is covered by the GNU General Public Licence, so all of these versions contain a core of free software with source code. However, many of them contain proprietary additions.

See also


  1. ^ a b "Xen". SourceForge.net. October 2, 2003. Retrieved October 18, 2012.
  2. ^ a b Jonathan Corbet (October 2, 2003). "The first stable Xen release". Lwn.net. Retrieved October 18, 2012.
  3. ^ "Xen Project 4.18 Release Notes". November 17, 2023.
  4. ^ jgross (April 2, 2019). "What's New In XEN 4.12". xenproject.org. Retrieved May 6, 2019.
  5. ^ "Xen Overview". Retrieved April 5, 2015.
  6. ^ "OSCompatibility - Xen Project Wiki". Wiki.xenproject.org. February 8, 2007. Retrieved June 8, 2013.
  7. ^ "Xen Summit April 2007". Xen Project. April 2007.
  8. ^ Suh, Sang-bum (April 2007). "Secure Architecture and Implementation of Xen on the ARM for Mobile Devices" (PDF). Xen Project.
  9. ^ "Xen Summit Boston 2008". Xen Project. June 2008.
  10. ^ Suh, Sang-bum (June 2008). "Secure Xen on ARM: Source Code Release and Update" (PDF). Xen Project.
  11. ^ "XenSummit Speaker Profiles" (PDF). Xen Summit Boston 2008. June 2008.
  12. ^ "Citrix Systems » Citrix Completes Acquisition of XenSource". Citrix Systems. July 12, 2007. Archived from the original on February 6, 2012. Retrieved October 26, 2007.
  13. ^ "Trademark". Xen.org. Retrieved June 8, 2012.
  14. ^ "Trademark Policy" (PDF) (PDF). Xen.org. June 1, 2008. Retrieved June 8, 2013.
  15. ^ "Linux Foundation Project". LinuxFoundation.org. Retrieved May 3, 2013.
  16. ^ "XenProject.org Website". XenProject.org. Retrieved May 3, 2013.
  17. ^ "Linux Foundation Xen Project Members". XenProject.org. Retrieved May 3, 2013.
  18. ^ "Project Governance (Updated)". XenProject.org. Retrieved May 3, 2013.
  19. ^ "Xen celebrates full dom0 and domU support in Linux 3.0 –". Blog.xen.org. May 30, 2011. Archived from the original on June 7, 2011. Retrieved October 18, 2012.
  20. ^ Jonathan Corbet (November 5, 2004). "Xen 2.0 released". Lwn.net. Retrieved October 18, 2012.
  21. ^ Jonathan Corbet (December 6, 2005). "Xen 3.0 released". Lwn.net. Retrieved October 18, 2012.
  22. ^ "XenSource: Press Releases". XenSource, Inc. December 10, 2005. Archived from the original on December 10, 2005. Retrieved October 18, 2012.
  23. ^ "AMD SVM Xen port is public". lists.xenproject.org. December 14, 2005. Retrieved June 8, 2013.
  24. ^ "[Xen-devel] Xen 3.0.3 released! - Xen Source". Lists.xenproject.org. October 17, 2006. Retrieved June 8, 2013.
  25. ^ "[Xen-devel] FW: Xen 3.0.4 released! - Xen Source". Lists.xenproject.org. December 20, 2006. Retrieved June 8, 2013.
  26. ^ "[Xen-devel] Xen 3.1 released! - Xen Source". Lists.xenproject.org. May 18, 2007. Retrieved June 8, 2013.
  27. ^ "Xen 3.2.0 Officially Released : VMblog.com - Virtualization Technology News and Information for Everyone". VMblog.com. Retrieved October 18, 2012.
  28. ^ "Xen 3.3.0 hypervisor ready for download - The H: Open Source, Security and Development". H-online.com. August 25, 2008. Archived from the original on March 14, 2012. Retrieved October 18, 2012.
  29. ^ "Xen.org Announces Release Of Xen 3.4 Hypervisor | Citrix Blogs". Community.citrix.com. May 18, 2009. Archived from the original on March 15, 2011. Retrieved October 18, 2012.
  30. ^ "Virtualisation: Xen is looking to catch up by releasing version 4 - The H Open: News and Features". H-online.com. April 9, 2010. Archived from the original on March 14, 2012. Retrieved October 18, 2012.
  31. ^ "Xen 4.0 Datasheet" (PDF) (PDF). Xen.org. Archived from the original (PDF) on May 10, 2012. Retrieved October 18, 2012.
  32. ^ "Xen 4.1 releases –". Blog.xen.org. March 25, 2011. Archived from the original on August 29, 2011. Retrieved October 18, 2012.
  33. ^ "XenParavirtOps - Xen Wiki". Wiki.xenproject.org. Retrieved June 8, 2013.
  34. ^ a b c "Best Quality and Quantity of Contributions in the New Xen Project 4.6 Release". Xenproject.org. October 13, 2015. Retrieved October 13, 2015.
  35. ^ "Xen 4.3 released! –". Blog.xen.org. July 9, 2013. Archived from the original on July 13, 2013. Retrieved July 16, 2013.
  36. ^ "Xen 4.4 releases –". Blog.xen.org. March 10, 2014. Archived from the original on March 10, 2014. Retrieved March 10, 2014.
  37. ^ "Xen Project 4.4 Release Notes". Wiki.xenproject.org. Retrieved March 10, 2014.
  38. ^ "Xen 4.4 Feature List". Wiki.xenproject.org. Retrieved March 10, 2014.
  39. ^ a b "Less is More in the New Xen Project 4.5 Release –". Blog.xen.org. January 15, 2015. Retrieved January 17, 2015.
  40. ^ "Xen Project 4.8.1 is available". Xenproject.org. April 12, 2017. Retrieved June 1, 2017.
  41. ^ "Xen Project 4.7 Feature List". Xen project. June 24, 2016.
  42. ^ "Xen Project 4.8.1 is available | Xen Project Blog". blog.xenproject.org. April 12, 2017. Retrieved February 19, 2018.
  43. ^ "What's New in the Xen Project Hypervisor 4.9". June 28, 2017. Retrieved April 26, 2018.
  44. ^ "What's New in the Xen Project Hypervisor 4.10". December 12, 2017. Retrieved April 26, 2018.
  45. ^ Gross, Juergen (July 10, 2018). "What's New in the Xen Project Hypervisor 4.11". Retrieved January 17, 2018.
  46. ^ Gross, Juergen (April 2, 2019). "WHAT'S NEW IN XEN 4.12". Retrieved April 29, 2019.
  47. ^ Kurth, Lars (December 18, 2019). "What's new in Xen 4.13". Retrieved December 23, 2019.
  48. ^ "Amazon EC2 Beta". August 25, 2006.
  49. ^ "CloudLayer Computing vs. Amazon EC2" (PDF) (PDF). Archived from the original (PDF) on December 12, 2014. Retrieved April 5, 2015.
  50. ^ Suzanne Tindal (February 28, 2011). "Fujitsu's global cloud launches in Aus". ZDNet Australia. Archived from the original on October 31, 2014. Retrieved October 11, 2011.
  51. ^ "Xen Project - Guest VM Images - OrionVM PV-HVM Templates". April 1, 2012. Retrieved June 27, 2014.
  52. ^ "Cloud FAQ". Rackspace.com. September 13, 2011. Archived from the original on October 17, 2012. Retrieved October 18, 2012.
  53. ^ "Understanding the Virtualization Spectrum". xenproject.org. Archived from the original on February 5, 2023. Retrieved March 9, 2022.
  54. ^ Roger Pau Monne. "Xen virtualization on FreeBSD" (PDF) (PDF). Retrieved April 6, 2015.
  55. ^ "Choosing a virtualization mode (PV versus PVHVM)". Rackspace Support Network. Rackspace. January 12, 2016. Archived from the original on January 26, 2018. Retrieved January 25, 2018.
  56. ^ Robin and Irvine, "Analysis of the Intel Pentium's Ability to Support a Secure Virtual Machine Monitor", 9th Usenix Security Symposium, 2000
  57. ^ Gil Neiger, Amy Santoni, Felix Leung, Dion Rodgers, Rich Uhlig. Intel Virtualization Technology: Software-only virtualization with the IA-32 and Itanium architectures, Intel Technology Journal, Volume 10 Issue 03, August 2006.
  58. ^ Extending Xen with Intel Virtualization Technology, intel.com
  59. ^ "The ARM Hypervisor — The Xen Project's Hypervisor for the ARM architecture". Retrieved April 6, 2015.
  60. ^ "Xen Release Features". Xen Project. Retrieved October 18, 2012.
  61. ^ "Xen 4.2 Feature List". Xen Project. December 17, 2012. Retrieved January 22, 2014.
  62. ^ "XenPPC". Xen Project. August 15, 2010. Retrieved January 22, 2014.
  63. ^ Mashable (September 4, 2012). "Porting Xen Paravirtualization to MIPS Architecture". Slideshare.net. Retrieved January 22, 2014.
  64. ^ "AUR (en) - xen". Aur.archlinux.org. Retrieved April 12, 2018.
  65. ^ "Xen - ArchWiki". Wiki.archlinux.org. Retrieved April 12, 2018.
  66. ^ "Xen - FreeBSD Wiki". wiki.freebsd.org. Retrieved September 28, 2015.
  67. ^ "Xen". Wiki.gentoo.org. Retrieved April 12, 2018.
  68. ^ "NetBSD/xen". Netbsd.org. Retrieved June 8, 2013.
  69. ^ "XenDom0Kernels - Xen Wiki". Wiki.xenproject.org. November 8, 2011. Retrieved June 8, 2013.
  70. ^ "Xen in Qubes OS Security Architecture". xenp.org. Retrieved April 12, 2018.
  71. ^ "Xen dom0 support in Lucid - Kernel team discussions - ArchiveOrange". Web.archiveorange.com. Archived from the original on September 13, 2011. Retrieved January 22, 2014.
  72. ^ "Xen - Community Ubuntu Documentation". Help.ubuntu.com. September 5, 2012. Retrieved October 18, 2012.
  73. ^ "PV on HVM". Wiki.xen.org. Retrieved April 12, 2018.
  74. ^ "Understanding the Virtualization Spectrum". Wiki.xenproject.org. Retrieved April 12, 2018.
  75. ^ "FreeBSD/Xen - FreeBSD Wiki". Wiki.freebsd.org. June 25, 2012. Archived from the original on October 12, 2012. Retrieved October 18, 2012.
  76. ^ "FreeBSD 11.0-RELEASE Release Notes". The FreeBSD Documentation Project. September 22, 2016. Retrieved October 23, 2016.
  77. ^ "xen(4) - OpenBSD Manual Pages". Retrieved December 30, 2017.
  78. ^ "Xen and the Art of Virtualization" (PDF) (PDF). University of Cambridge SOSP'03 paper. Retrieved October 18, 2012.
  79. ^ "Xen Windows GplPv". Retrieved June 26, 2019.
  80. ^ "XPDDS18: Windows PV Drivers Project: Status and Updates - Paul Durrant, Citrix Systems". June 29, 2018. Retrieved June 26, 2019.
  81. ^ Sharwood, Simon. "XenServer split from Citrix, promises per-socket prices". www.theregister.com. Retrieved May 29, 2023.
  82. ^ Mikael Lindholm (April 25, 2019). "Citrix Hypervisor 8.0 is here!". Citrix Blog. Citrix.
  83. ^ Huawei to virtual world: Give us your desktops and no-one gets hurt
  84. ^ Crucible - Secure Embedded Virtualization

Further reading