package mirage-block-xen

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/mirage-block-xen.back/Blkback/index.html

Module BlkbackSource

Sourceval src : Logs.src
Sourcemodule type ACTIVATIONS = sig ... end

Event channels handlers.

Sourcemodule Gntref = Xen_os.Xen.Gntref
Sourcetype ops = {
  1. read : int64 -> Cstruct.t list -> unit Lwt.t;
  2. write : int64 -> Cstruct.t list -> unit Lwt.t;
}
Sourcetype stats = {
  1. ring_utilisation : int array;
  2. segments_per_request : int array;
  3. mutable total_requests : int;
  4. mutable total_ok : int;
  5. mutable total_error : int;
}
Sourcetype ('a, 'b) t = {
  1. domid : int;
  2. xe : Xen_os.Eventchn.handle;
  3. evtchn : Xen_os.Eventchn.t;
  4. ring : ('a, 'b) Ring.Rpc.Back.t;
  5. ops : ops;
  6. parse_req : Cstruct.t -> Blkproto.Req.t;
}
Sourceval page_size : int
Sourcemodule Opt : sig ... end
Sourcemodule Request : sig ... end
Sourceval is_writable : Blkproto.Req.t -> bool
Sourcemodule Make (A : ACTIVATIONS) (X : Xs_client_lwt.S) (B : Mirage_block.S) : sig ... end
OCaml

Innovation. Community. Security.