package mirage-block-xen
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=6877737cd55470aca27ce0daf967ddcd0ad369678c8a65f4d3716d34d5bc43f3
sha512=2cdbd0e1851c22925d46f87353931252b813a0462338363a43291c3dc0a8449d7015789934117701a20ad6b4b672a192de3df3499ef575a78c54fa65458f5f79
Description
This library allows a Mirage OCaml application to
- read and write blocks from any Xen "backend" (server)
- 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.
README
mirage-xen-block
This library allows a Mirage OCaml application to
read and write blocks from any Xen "backend" (server)
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 (13)
-
fmt
>= "0.8.7"
- xenstore
-
mirage-xen
>= "7.0.0"
-
io-page
>= "2.0.0"
-
mirage-block
>= "2.0.0"
- shared-memory-ring-lwt
- shared-memory-ring
-
ppx_cstruct
>= "3.6.0"
-
cstruct
>= "6.0.0"
-
lwt
>= "2.4.3"
- logs
-
dune
>= "1.0"
-
ocaml
>= "4.08.0"
Dev Dependencies
None
Used by
None
Conflicts
None