X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=fdd4ae63ffcd4108520ae121e76ae649fbb43620;hp=b3388f6e8d683f3b147ab550062ffded08d64572;hb=e8ecc08f663b44f3d79517affe52f137858dfe00;hpb=5b17af107f75a0d6f3a39b88b9c18714014eb7af diff --git a/src/generator.ml b/src/generator.ml index b3388f6..fdd4ae6 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -342,6 +342,31 @@ Return the current search path. This is always non-NULL. If it wasn't set already, then this will return the default path."); + ("set_append", (RErr, [String "append"]), -1, [FishAlias "append"], + [], + "add options to kernel command line", + "\ +This function is used to add additional options to the +guest kernel command line. + +The default is C unless overridden by setting +C environment variable. + +The string C is stashed in the libguestfs handle, so the caller +must make sure it remains valid for the lifetime of the handle. + +Setting C to C means I additional options +are passed (libguestfs always adds a few of its own)."); + + ("get_append", (RConstString "append", []), -1, [], + [], + "get the additional kernel options", + "\ +Return the additional kernel options which are added to the +guest kernel command line. + +If C then no options are added."); + ("set_autosync", (RErr, [Bool "autosync"]), -1, [FishAlias "autosync"], [], "set autosync mode",