package mirage-block-xen

  1. Overview
  2. Docs
val src : Logs.src
module Log : Logs.LOG
module type ACTIVATIONS = sig ... end

Event channels handlers.

module Gntref = Xen_os.Xen.Gntref
type ops = {
  1. read : int64 -> Cstruct.t list -> unit Lwt.t;
  2. write : int64 -> Cstruct.t list -> unit Lwt.t;
}
type 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;
}
type ('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;
}
val page_size : int
module Opt : sig ... end
module Request : sig ... end
val is_writable : Blkproto.Req.t -> bool
module Make (A : ACTIVATIONS) (X : Xs_client_lwt.S) (B : Mirage_block.S) : sig ... end