Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add grant-handling code to OS.Xen #9
The xen-gnt library provides a single OCaml module that tries to provide grant handling on Unix (for Unix domains running under the Xen hypervisor) and Xen (for unikernels using Mini-OS). However, these
This commit adds a new Xen-unikernel-only implmentation and API. It is based on xen-gnt's Gnt API, but specialised to Xen and cleaned up:
We still depend on xen-gnt. This is needed because it keeps track of free grant table entries and we can't duplicate that here as long as any library is still using xen-gnt.
My intention is that the Unix-specific parts of xen-gnt can be moved out to xen-gnt-unix (which is currently just C stubs). The kernel-specific parts can be removed. The ocaml-vchan library contains its own grant