X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=13c1cfae75d18bbe4648b54f178461365a38827d;hp=da18ccff19a079560a3daa8a2aafa81b83a5c9c1;hb=3d15f7e652340777514ff30c3cfc560a90b612ec;hpb=662617ae725c5e41c24128a037060419fbe4b026 diff --git a/src/generator.ml b/src/generator.ml index da18ccf..13c1cfa 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -598,6 +598,35 @@ actions using the low-level API. For more information on states, see L."); + ("set_memsize", (RErr, [Int "memsize"]), -1, [FishAlias "memsize"], + [], + "set memory allocated to the qemu subprocess", + "\ +This sets the memory size in megabytes allocated to the +qemu subprocess. This only has any effect if called before +C. + +You can also change this by setting the environment +variable C before the handle is +created. + +For more information on the architecture of libguestfs, +see L."); + + ("get_memsize", (RInt "memsize", []), -1, [], + [], + "get memory allocated to the qemu subprocess", + "\ +This gets the memory size in megabytes allocated to the +qemu subprocess. + +If C was not called +on this handle, and if C was not set, +then this returns the compiled-in default value for memsize. + +For more information on the architecture of libguestfs, +see L."); + ] (* daemon_functions are any functions which cause some action