2017-05-26 14:30:34 +00:00
|
|
|
(* (c) 2017 Hannes Mehnert, all rights reserved *)
|
|
|
|
|
|
|
|
open Rresult
|
|
|
|
|
|
|
|
open Vmm_core
|
|
|
|
|
2018-10-22 22:54:05 +00:00
|
|
|
val prepare : id -> vm_config -> (string list, [> R.msg ]) result
|
2017-05-26 14:30:34 +00:00
|
|
|
|
2018-10-22 22:54:05 +00:00
|
|
|
val shutdown : id -> vm -> (unit, [> R.msg ]) result
|
2017-05-26 14:30:34 +00:00
|
|
|
|
2018-10-22 22:54:05 +00:00
|
|
|
val exec : id -> vm_config -> string list -> (vm, [> R.msg ]) result
|
2017-05-26 14:30:34 +00:00
|
|
|
|
|
|
|
val destroy : vm -> unit
|
|
|
|
|
|
|
|
val close_no_err : Unix.file_descr -> unit
|