package mirage-block-xen

All checked builds pass
  1. Overview
  2. Docs
MirageOS block driver for Xen that implements the blkfront/back protocol

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mirage-block-xen-2.1.3.tbz
sha256=03376069972d05cfa4daeb89a934faef43cfdb583838e575cbeb662bebdef451
sha512=8288e1f0e08875e5dc9a5a13c39bfd495fc0571645fa13bf6d218ff7c34e90fd665c00ebecf688e5c110c889ff1fabeae317ecf4ca975a5d05cbcc5c219a675d

Description

This library allows a Mirage OCaml application to

  1. read and write blocks from any Xen "backend" (server)
  2. service block requests from any Xen "frontend" (client)

This library can be used in both kernelspace (on Xen) or in userspace (using libraries that come with Xen).

This library depends on the shared-memory-ring library which enables high-throughput, low-latency data transfers over shared memory on both x86 and ARM architectures, using the standard Xen RPC and event channel semantics.

Tags

org:mirage org:xapi-project

Added to opam-repository:

README

mirage-block-xen

This library allows a Mirage OCaml application to

  1. read and write blocks from any Xen "backend" (server)
  2. service block requests from any Xen "frontend" (client)

This library can be used in both kernelspace (on Xen) or in userspace (using libraries that come with Xen).

This library depends on the shared-memory-ring library which enables high-throughput, low-latency data transfers over shared memory on both x86 and ARM architectures, using the standard Xen RPC and event channel semantics.

Example: in Mirage unikernels on xen

The block_perf example shows how a Mirage application can use this library to access a virtual disk with very little overhead.

For performance results and discussion, see Unikernels: Library Operating Systems for the Cloud

Example: prototyping new storage for Virtual Machines

The xen-disk application runs in userspace and attaches a virtual disk to an existing xen VM. The disk read and write requests are served in userspace through one of a set of 'backends' which are selectable on the commandline.

Dependencies (12)

  1. fmt >= "0.8.7"
  2. xenstore
  3. mirage-xen >= "7.0.0"
  4. io-page >= "2.0.0"
  5. mirage-block >= "2.0.0"
  6. shared-memory-ring-lwt
  7. shared-memory-ring
  8. cstruct >= "6.0.0"
  9. lwt >= "2.4.3"
  10. logs
  11. dune >= "1.0"
  12. ocaml >= "4.08.0"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building mirage-block-xen with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.1.3 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure