package mirage-block-xen

  1. Overview
  2. Docs

Parameters

module A : ACTIVATIONS
module B : Mirage_block.S

Signature

module BlockError : sig ... end
val service_thread : ('a, 'b) t -> stats -> 'c Lwt.t
val init : Xen_os.Eventchn.handle -> int -> Blkproto.RingInfo.t -> ops -> 'a Lwt.t * stats
val get_my_domid : X.client -> int Lwt.t
val mk_backend_path : X.client -> string -> (int * int) -> string Lwt.t
val mk_frontend_path : (int * int) -> string Lwt.t
val writev : X.client -> (string * string) list -> unit Lwt.t
val readv : X.client -> string -> string list -> (string * string) list Lwt.t
val read_one : X.client -> string -> [> `Error of string | `OK of string ] Lwt.t
val write_one : X.client -> string -> string -> unit Lwt.t
val exists : X.client -> string -> bool Lwt.t
val request_close : string -> (int * int) -> unit Lwt.t
val force_close : (int * int) -> unit Lwt.t
val run : ?max_indirect_segments:int -> B.t -> string -> (int * int) -> stats Lwt.t
val create : ?backend_domid:int -> string -> (int * int) -> unit Lwt.t
val destroy : string -> (int * int) -> unit Lwt.t
OCaml

Innovation. Community. Security.