package mirage-block-xen
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=e92b3c0c956dde95b4a4a341c1662f316815e2cbbc5b759d6183e5b74c8e58b9
md5=4854a1a68a721caa5561aff3fea4b4a9
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 (14)
- rresult
-
mirage-xen
>= "3.3.0" & < "4.0.0"
-
io-page-xen
>= "2.0.0"
- ipaddr
-
mirage-block-lwt
>= "1.0.0"
- shared-memory-ring-lwt
-
ppx_cstruct
build & >= "3.6.0"
-
cstruct
>= "1.9.0"
-
lwt
>= "2.4.3"
- stringext
- logs
- cmdliner
- dune
-
ocaml
>= "4.02.0"
Dev Dependencies
None
Used by
None
Conflicts
None