git.annexia.org
/
virt-top.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Complete implementation of storage API.
[virt-top.git]
/
libvirt
/
libvirt.mli
diff --git
a/libvirt/libvirt.mli
b/libvirt/libvirt.mli
index
642b845
..
72917ef
100644
(file)
--- a/
libvirt/libvirt.mli
+++ b/
libvirt/libvirt.mli
@@
-645,6
+645,7
@@
sig
(** State of the storage pool. *)
type pool_info = {
(** State of the storage pool. *)
type pool_info = {
+ state : pool_state; (** Inactive | Active *)
capacity : int64; (** Logical size in bytes. *)
allocation : int64; (** Currently allocated in bytes. *)
}
capacity : int64; (** Logical size in bytes. *)
allocation : int64; (** Currently allocated in bytes. *)
}
@@
-801,6
+802,14
@@
v}
val cancel : ('a,'b) t -> unit
(** Cancel a job. *)
val cancel : ('a,'b) t -> unit
(** Cancel a job. *)
+ val free : ('a, [>`R]) t -> unit
+ (** Free a job object in memory.
+
+ The job object is automatically freed if it is garbage
+ collected. This function just forces it to be freed right
+ away.
+ *)
+
external const : ('a, [>`R]) t -> ('a, ro) t = "%identity"
(** [const conn] turns a read/write job into a read-only
job. Note that the opposite operation is impossible.
external const : ('a, [>`R]) t -> ('a, ro) t = "%identity"
(** [const conn] turns a read/write job into a read-only
job. Note that the opposite operation is impossible.