search for: fishalia

Displaying 9 results from an estimated 9 matches for "fishalia".

Did you mean: fishalias
2012 Feb 23
1
[PATCH v2] Add a flag to make some functions called only at CONFIG state(RHBZ796520)
...erator_actions.ml index d9bd356..53a9607 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -112,7 +112,7 @@ You probably don't want to call this function.")] *) let non_daemon_functions = test_functions @ [ - ("launch", (RErr, [], []), -1, [FishAlias "run"; Progress], + ("launch", (RErr, [], []), -1, [FishAlias "run"; Progress; ConfigOnly], [], "launch the qemu subprocess", "\ @@ -122,7 +122,7 @@ using L<qemu(1)>. You should call this after configuring the handle (eg. adding dri...
2010 Jul 05
5
[PATCH 0/3] RFC: Allow use of external QEMU process with libguestfs
This attempts to implement the idea proposed in https://www.redhat.com/archives/libguestfs/2010-April/msg00087.html The idea is that an externally managed QEMU (manual, or via libvirt) can boot the appliance kernel/initrd. libguestfs can then be just told of the UNIX domain socket associated with the guest daemon. An example based on guestfish. 1. Step one, find the appliance kernel/initrd
2009 Sep 14
1
[PATCH] Don't enable trace in set_trace test.
...f --git a/src/generator.ml b/src/generator.ml index 50a41c7..179665b 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -778,8 +778,8 @@ For more information on the architecture of libguestfs, see L<guestfs(3)>."); ("set_trace", (RErr, [Bool "trace"]), -1, [FishAlias "trace"], - [InitNone, Always, TestOutputTrue ( - [["set_trace"; "true"]; + [InitNone, Always, TestOutputFalse ( + [["set_trace"; "false"]; ["get_trace"]])], "enable or disable command traces", &quo...
2012 Jan 09
1
[PATCH 1/2] generator: Rename java_structs to camel_structs to better reflect their purpose
This map was originally included just for the java bindings, but is generally useful to any binding which uses camel case by requirement or convention. --- generator/generator_haskell.ml | 4 ++-- generator/generator_java.ml | 10 +++++----- generator/generator_main.ml | 2 +- generator/generator_structs.ml | 12 +++++------- generator/generator_structs.mli | 8 ++++---- 5
2009 Sep 09
2
[PATCH] Add command trace functionality
...- a/src/generator.ml +++ b/src/generator.ml @@ -805,6 +805,32 @@ is passed to the appliance at boot time. See C<guestfs_set_selinux>. For more information on the architecture of libguestfs, see L<guestfs(3)>."); + ("set_trace", (RErr, [Bool "trace"]), -1, [FishAlias "trace"], + [InitNone, Always, TestOutputTrue ( + [["set_trace"; "true"]; + ["get_trace"]])], + "enable or disable command traces", + "\ +If the command trace flag is set to 1, then commands are +printed on stdout before they...
2012 Jan 16
1
[PATCH] generator: Add an explicit Cancellable flag
..._checks.ml index 98d84ea..8f80e39 100644 --- a/generator/generator_checks.ml +++ b/generator/generator_checks.ml @@ -189,7 +189,8 @@ let () = | FishOutput _ | NotInFish | NotInDocs - | Progress -> () + | Progress + | Cancellable -> () | FishAlias n -> if contains_uppercase n then failwithf "%s: guestfish alias %s should not contain uppercase chars" name n; diff --git a/generator/generator_types.ml b/generator/generator_types.ml index 0f43d35..17905ce 100644 --- a/generator/generator_types.ml +++ b/g...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...; / help <cmd> to show detailed help for a command.\"));\n"; @@ -5744,52 +5744,52 @@ and generate_fish_cmds () = fun (name, style, _, flags, _, shortdesc, longdesc) -> let name2 = replace_char name '_' '-' in let alias = - try find_map (function FishAlias n -> Some n | _ -> None) flags - with Not_found -> name in + try find_map (function FishAlias n -> Some n | _ -> None) flags + with Not_found -> name in let longdesc = replace_str longdesc "C<guestfs_" "C<" in let synopsis = -...
2009 Nov 09
1
use STREQ(a,b), not strcmp(a,b) == 0
...quot; alias; + pr " || STRCASEEQ (cmd, \"%s\")" alias; pr ")\n"; pr " pod2text (\"%s\", _(\"%s\"), %S);\n" name2 shortdesc @@ -6692,11 +6692,11 @@ and generate_fish_cmds () = try find_map (function FishAlias n -> Some n | _ -> None) flags with Not_found -> name in pr " if ("; - pr "strcasecmp (cmd, \"%s\") == 0" name; + pr "STRCASEEQ (cmd, \"%s\")" name; if name <> name2 then - pr " || strcas...
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-