XAPI Toolstack Release Details

From Dave Scott on xen mailing lists:

We are pleased to announce the open-sourcing of the ‘xapi’ toolstack — as used in the Citrix XenServer product line. The xapi toolstack is licensed under the LGPL v2.1 with a special static linking exception. The toolstack:

  • manages the lifecycle of VMs (installing from templates, running, suspending, migrating, creating snapshots and checkpoints and import/export)
  • binds hosts together into single “Resource Pools”
  • interfaces with heterogeneous storage services through a plugin mechanism
  • manages host and VM networking, including bonding and VLANs
  • records multi-resolution persistent performance statistics
  • generates alerts when performance thresholds are crossed or multipathed storage degrades
  • authenticates users through either PAM or Active Directory
  • supports Role-based access control
  • actively manages VM memory allocations through ballooning
  • supports host software upgrade without VM downtime (“rolling-upgrade”)
  • plans for host failure, performs admission control and automatic VM restart
  • exposes the XenAPI over HTTP/S
  • provides secure tunnelling for VM console traffic
  • includes a Java applet for viewing consoles and a Javascript XenAPI client demo
  • supports a simple plugin mechanism for extension
  • when used with the open-source CIM provider [http://community.citrix.com/display/xs/Kensho] provides a full DMTF CIM API with OVF support

The released code is the current development version (“trunk”) and is under active development. The repositories are here:

http://xenbits.xen.org/xapi/xen-dist-ocaml.hg — scripts and Makefiles to build some external library dependencies
http://xenbits.xen.org/xapi/xen-api-libs.hg — internal libraries (e.g. for talking to xenstore) http://xenbits.xen.org/xapi/xen-api.hg — the toolstack itself

The easiest way to build the code is in a specially-prepared VM, instructions are here:

http://xenbits.xen.org/xapi/install.html

From now on, all development will take place on the xen-api@lists.xensource.com
mailing list. In the future we plan to move relevant content such as documentation, designs, roadmaps etc. onto the main xen.org wiki.

Comments, criticism and contributions are welcome!

The xapi toolstack team

Read more

🛠️ Engineering Trust: How Xen’s Open CI Powers Global, Hardware-Level Testing
07/10/2025

In safety-critical industries like automotive and industrial systems, trust is non-negotiable. When building software that controls critical hardware, like braking systems or factory automation, you need confidence. The software must behave exactly as intended. Every time. On the actual device. That's why the Xen Project is investing in

🛠️ Xen Summit 2025: Find Your Place in the Future of Virtualization
06/27/2025

The annual Xen Summit is right around the corner, and there has never been a more exciting time to be part of the Xen Project. As enterprise and industrial needs shift and proprietary vendors rethink their licensing, the industry is ready for strong, open alternatives. Xen stands out not only

Let’s Grow Xen Together!
03/18/2025

Xen is open, secure, and built for the future. As the new Community Manager, I’m focused on growing the Xen community, welcoming new contributors, and ensuring a thriving ecosystem. Let’s build the future of virtualization together!

Xen Project 4.20: A Step Forward in Open Source Virtualization
03/11/2025

The Xen Project has released Xen 4.20 🎉! This release introduces a range of enhancements that further solidify its position as the premier open-source hypervisor. It delivers important security updates, improved performance, and broader hardware support. Xen has doubled down as the best choice for cloud providers, enterprise users, and