X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=ocaml%2Fguestfs.mli;h=5cab5887bf6e6365586b5a64dd7e9d3d405fb093;hp=988d9de63b12d860add4dd612eb7a065437fd50b;hb=0884d8bbae6d76a603ec1385ada2938f88981c5c;hpb=c6d6f5ae1b76ec9aa5c540906aeed73d25d13eb9;ds=sidebyside diff --git a/ocaml/guestfs.mli b/ocaml/guestfs.mli index 988d9de..5cab588 100644 --- a/ocaml/guestfs.mli +++ b/ocaml/guestfs.mli @@ -280,6 +280,12 @@ val set_ready : t -> unit val end_busy : t -> unit (** leave the busy state *) +val set_memsize : t -> int -> unit +(** set memory allocated to the qemu subprocess *) + +val get_memsize : t -> int +(** get memory allocated to the qemu subprocess *) + val mount : t -> string -> string -> unit (** mount a guest disk at a position in the filesystem *) @@ -664,3 +670,30 @@ val du : t -> string -> int64 val initrd_list : t -> string -> string array (** list files in an initrd *) +val mount_loop : t -> string -> string -> unit +(** mount a file using the loop device *) + +val mkswap : t -> string -> unit +(** create a swap partition *) + +val mkswap_L : t -> string -> string -> unit +(** create a swap partition with a label *) + +val mkswap_U : t -> string -> string -> unit +(** create a swap partition with an explicit UUID *) + +val mknod : t -> int -> int -> int -> string -> unit +(** make block, character or FIFO devices *) + +val mkfifo : t -> int -> string -> unit +(** make FIFO (named pipe) *) + +val mknod_b : t -> int -> int -> int -> string -> unit +(** make block device node *) + +val mknod_c : t -> int -> int -> int -> string -> unit +(** make char device node *) + +val umask : t -> int -> int +(** set file mode creation mask (umask) *) +