| D.InfoShutdown -> "shutdown"
| D.InfoShutoff -> "shutoff"
| D.InfoCrashed -> "crashed"
+ | D.InfoPMSuspended -> "pm suspended"
let printd dom fmt =
let prefix dom =
| D.InfoShutdown -> "shutdown"
| D.InfoShutoff -> "shutoff"
| D.InfoCrashed -> "crashed"
+ | D.InfoPMSuspended -> "pm suspended"
let () =
try
type state =
| InfoNoState | InfoRunning | InfoBlocked | InfoPaused
- | InfoShutdown | InfoShutoff | InfoCrashed
+ | InfoShutdown | InfoShutoff | InfoCrashed | InfoPMSuspended
type info = {
state : state;
module Pool =
struct
type 'rw t
- type pool_state = Inactive | Building | Running | Degraded
+ type pool_state = Inactive | Building | Running | Degraded | Inaccessible
type pool_build_flags = New | Repair | Resize
type pool_delete_flags = Normal | Zeroed
type pool_info = {
module Volume =
struct
type 'rw t
- type vol_type = File | Block
+ type vol_type = File | Block | Dir | Network | NetDir | Ploop
type vol_delete_flags = Normal | Zeroed
type vol_info = {
typ : vol_type;
type state =
| InfoNoState | InfoRunning | InfoBlocked | InfoPaused
- | InfoShutdown | InfoShutoff | InfoCrashed
+ | InfoShutdown | InfoShutoff | InfoCrashed | InfoPMSuspended
type info = {
state : state; (** running state *)
type 'rw t
(** Storage pool handle. *)
- type pool_state = Inactive | Building | Running | Degraded
+ type pool_state = Inactive | Building | Running | Degraded | Inaccessible
(** State of the storage pool. *)
type pool_build_flags = New | Repair | Resize
type 'rw t
(** Storage volume handle. *)
- type vol_type = File | Block
+ type vol_type = File | Block | Dir | Network | NetDir | Ploop
(** Type of a storage volume. *)
type vol_delete_flags = Normal | Zeroed