Skip to content

Refreshed code examples from book "The Definitive Guide to the Xen Hypervisor"

License

Notifications You must be signed in to change notification settings

gotoco/xen-hypervisor-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"The Definitive Guide to the Xen Hypervisor" examples refreshed.

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

To Do list:

  • 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

Extra content:

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

References:

Build Xen for Debugging

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

Development

Want to contribute? Great! See TODO list.

License

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!

About

Refreshed code examples from book "The Definitive Guide to the Xen Hypervisor"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published