Example of a Mirage unikernels using Irmin
git/
contains a unikernel using ocaml-git
only.To build a Xen unikernel, you need to cross-compile few C packages to Xen, using the mirage-dev packages:
opam repo add mirage-dev https://github.com/samoht/mirage-dev.git
opam pin add git --dev -n
You should now be able to run:
cd git/
mirage configure --xen
make
[edit git.xl to uncomment the #vif line]
sudo xl create git.xl