X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=libvirt%2Flibvirt.mli;h=8de1a45441b537af536217f45b008ff3a663d50f;hb=1472f34ab7abc8204e9ea8a2078a84d84f48b1f1;hp=1dfdc25d46d7bb9a33f2e7230dfdd6442c858921;hpb=40a01d1ac4c73496e06944fc1910694908f3442d;p=ocaml-libvirt.git diff --git a/libvirt/libvirt.mli b/libvirt/libvirt.mli index 1dfdc25..8de1a45 100644 --- a/libvirt/libvirt.mli +++ b/libvirt/libvirt.mli @@ -543,12 +543,8 @@ sig val get_uuid_string : [>`R] t -> string (** Get the domain UUID (as a printable string). *) val get_id : [>`R] t -> int - (** [getid dom] returns the ID of the domain. - - Do not call this on a defined but not running domain. Those - domains don't have IDs, and you'll get an error here. - *) - + (** [get_id dom] returns the ID of the domain. In most cases + this returns [-1] if the domain is not running. *) val get_os_type : [>`R] t -> string (** Get the operating system type. *) val get_max_memory : [>`R] t -> int64