ArticleDirectory
- Libxenlight (libxl)
- Xapi
- Libvirt
- Xend
One really great feature of xen is that there are several choices of toolstacks that can be used to manage it. before the introdcution of libxenlight, there was a complicated and inefficient toolstack situation. the issue was that xend, xapi, libvirt, etc. all needed to manage extends common low-level operations, which led to code duplication, ineffeciences, bugs, and wasted effort (E. g fixing the same bug in all of the toolstacks ). further, the default toolstack at the time (xend) was difficult to understand, modify, and extend. Libxenlight (libxl)
Libxenlight is a small lower-level library written in C. it is meant to be simple to understand and easy to modify and extend. basically, it is meant to be the common bottom third of any xen toolstack. it was created to provide a simple and robust API for all the toolstack to use (instead of all of the toolstacks each implemented this common functionality ). it was also created to be a common codebase to do xen operations.
Libxl Design Principles
- Implement mechanisms, not policies
- Stateless
- Hide xenstore, libxenctrl, and libxenguest from higher levels
- Be as simple as possible
XL
The XL command line tool is the command line interface to libxenlight and the default toolstack for xen as of xen 4.1
Xapi
The xen management API (xapi) is the default toolstack for Citrix xenserver and XCP. xapi is fully open source and has been ported to Linux distributions (seeproject_kronos ). at the time of this writing, work is in progress to port xapi to use libxenlight. for more information see [the xapi source code], the [the xapi mailing list], or the IRC channel (# xen-API on freenode ).
Libvirt
Libvirt Is A virtualization API/TOOLKIT used to manage various Virtualization Technologies. There is a libxenlight port of libvirt.
Xend
As of xen 4.1, the xend toolstack is deprecated. XL shoshould be used instead.
Command line interface (CLI) Tools
The table shows the command line tools to use with each of the toolstacks.
Toolstack CLI tools
Toolstack |
Libxl |
Xapi |
Libvirt |
Xend (Deprecated) |
CLI Tool |
XL |
XE |
Virsh |
XM (Deprecated) |
See more: http://wiki.xen.org/wiki/Choice_of_Toolstacks