Great book about Xen was published at the end of 2007, and aim Xen 3.1 and 32bits guest OS-es. The original source code for these examples can be downloaded from this link. The target of this repo is to refresh original examples and make them able to run on new Xen. From version 3.1 a lot of things changed in Xen and IA as well, so some of the code examples can be different from originals.
- support for upstream Xen hypervisor 4.8 (should be able to run on previous versions)
- 32 bit and 64 guests OS-es
- support for xl
- everything was tested on Xen 4.8 built with debug support
- 64-bit ports are based on Mini-os code base
- Test for charapter4
- ARM support for 32 and 64 bits OS-es
- Extend Scheduler from character 12 to don't crash system
- Provide alternative isXen
- Extras: Possible detection of Xen, Driver from XenStore
After reading the book I had a little an unsatisfied. Because most of the examples are small, there are not really functional and don't provide a good base for a real project I decided to extend some of them to learn more about Xen. If you also feel similar you can find some of my stuff in extras folder
- The Definitive Guide to the Xen Hypervisor - Referred book, a little bit outdated but still great source of knowledge
- Xen Master - Github mirror for Xen hypervisor!
- Mini-OS - At the time of publication of the book was a part of Xen now is moved as external project
You need to reconfigure xen and install it on your machine:
$ cd $XEN_SRC
$ ./configure --enable-debug --enable-debugger --enable-verbose
$ make -jN
$ sudo make install
Want to contribute? Great! See TODO list.
Originally it is not my code, but it comes from the book.
MIT -> For everything that do not belongs to the book
Free Software, Hell Yeah!