package mirage-types

  1. Overview
  2. Docs
Module type definitions for MirageOS applications

Install

Dune Dependency

Authors

Maintainers

Sources

mirage-v3.7.5.tbz
sha256=6c58e4b8a2ea6068e24ca00904b456fcbabb3b3f8be06ecff392f68a891d7e27
sha512=15ffde8e9a6ccaf4535281612e8c5c2aa802ffab4c427aa652be4865d28867893cdd1783147da7302b314f52576635212190ecbc875cbc12db0f325f3a465445

Description

Module type definitions for MirageOS applications

Tags

org:mirage org:xapi-project

Published: 15 Mar 2020

README

MirageOS

MirageOS is a library operating system that constructs unikernels for secure, high-performance network applications across a variety of cloud computing and mobile platforms. Code can be developed on a traditional OS such as Linux or MacOS X, and then compiled into a fully-standalone, specialised unikernel that runs under the Xen or KVM hypervisors as well as lightweight hypervisors like FreeBSD's BHyve, OpenBSD's VMM. Xen and KVM power many public clouds; MirageOS unikernels are currently running on Amazon's Elastic Compute Cloud and Google Compute Engine, and maybe others!

The most up-to-date documentation can be found at the homepage. The site is a Xen hosted unikernel. Simpler skeleton applications are also available online.

This repository

This repository includes:

  • a command-line tool to create and deploy applications with MirageOS; and

  • in types/, a library of type signatures that compliant applications use.

There are several diverse backends in MirageOS that require rather specialised build steps (from Xen to KVM unikernels), and this complexity is wrapped up in the tool.

To work with mirage, you'll need to either install prerequisites locally.

Local install

You will need the following:

  • a working OCaml compiler (4.05.0 or higher).

  • the OPAM source package manager (2.0.0 or higher).

  • an x86_64 or armel Linux host to compile Xen kernels, or FreeBSD, OpenBSD or MacOS X for the solo5 and userlevel versions.

Using mirage

There are two stages to using mirage:

  • a configure phase where necessary code is generated and dependencies are determined.

  • an optional depends phase where OPAM package dependencies are satisfied.

  • a build phase where the compiler and any support scripts are run.

You can find documentation, walkthroughs and tutorials over on the MirageOS website. The install instructions are a good place to begin!

Dependencies (15)

  1. mirage-channel >= "4.0.0"
  2. mirage-kv >= "3.0.0"
  3. mirage-fs >= "3.0.0"
  4. mirage-net >= "3.0.0"
  5. mirage-block >= "2.0.0"
  6. mirage-stack >= "2.0.0"
  7. mirage-protocols >= "4.0.0" & < "5.0.0"
  8. mirage-console >= "3.0.0"
  9. mirage-flow >= "2.0.0"
  10. mirage-random >= "2.0.0" & < "4.0.0"
  11. mirage-clock >= "3.0.0"
  12. mirage-time >= "2.0.0"
  13. mirage-device >= "2.0.0"
  14. dune >= "1.1.0"
  15. ocaml >= "4.06.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.