xen summit amd_2010v3
DESCRIPTION
TRANSCRIPT
![Page 1: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/1.jpg)
Xen Summit at AMDApril 2829, 2010
LIBXENLIGHT
Stefano Stabellini
![Page 2: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/2.jpg)
Xen Summit at AMDApril 2829, 2010
The current situation
Multiple toolstacks:
Xend, Xapi, XenVM, LibVirt, ...
code duplications, inefficiencies, bugs, wasted efforts
Xend:
difficult to understand, modify and extend
![Page 3: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/3.jpg)
Xen Summit at AMDApril 2829, 2010
The solution: libxenlight
What is Libxenlight:
a small lower level library in C
simple to understand
easy to modify and extend
Goals:
provide a simple and robust API for toolstacks
create a common codebase to do Xen operations
![Page 4: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/4.jpg)
Xen Summit at AMDApril 2829, 2010
The current architecture
![Page 5: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/5.jpg)
Xen Summit at AMDApril 2829, 2010
The new architecture
![Page 6: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/6.jpg)
Xen Summit at AMDApril 2829, 2010
Libxenlight: design principles
implement mechanisms, not policies
stateless
hide xenstore, libxenctrl and libxenguest from the higher levels
be as simple as possible
![Page 7: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/7.jpg)
Xen Summit at AMDApril 2829, 2010
XL: not just unit testing
the unit testing tool for libxenlight
feature complete
a minimal toolstack
99% compatible with xm
do more with less!
![Page 8: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/8.jpg)
Xen Summit at AMDApril 2829, 2010
XL: design principles
smallest possible toolstack on top of libxenlight
stateless
work without any additional daemons
CLI XL Libxenlight EXIT→ → →
exception: domain cleanup, cdrom eject
![Page 9: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/9.jpg)
Xen Summit at AMDApril 2829, 2010
The new architecture: adding XL
![Page 10: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/10.jpg)
Xen Summit at AMDApril 2829, 2010
XL vs. Xend
XL: pros
very small and easy to read
well tested
compatible with xm
Xend: pros
provide XML RPC interface
provide ”managed domains”
![Page 11: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/11.jpg)
Xen Summit at AMDApril 2829, 2010
TODO list
implement missing features
make libxenlight rock solid
port xend on top of libxenlight
port xapi on top of libxenlight
port libvirt on top of libxenlight
![Page 12: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/12.jpg)
Xen Summit at AMDApril 2829, 2010
Libxenlight: patches are welcome
new features should be implemented in libxenlight
a hook in xl is required for testing purposes
bindings for xend, xapi and other toolstacks are welcome but not required
![Page 13: Xen summit amd_2010v3](https://reader033.vdocument.in/reader033/viewer/2022051513/5458fc20af79594f558b5437/html5/thumbnails/13.jpg)
Xen Summit at AMDApril 2829, 2010
Questions?