Displaying 13 results from an estimated 13 matches for "set_output_mode".
2016 Jul 18
3
[PATCH 1/2] v2v: register also aliases of input/output modules
This makes them visible in the help text of -i and -o.
---
v2v/input_disk.ml | 5 ++++-
v2v/output_local.ml | 5 ++++-
v2v/output_rhev.ml | 5 ++++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/v2v/input_disk.ml b/v2v/input_disk.ml
index 17ad61d..508f16a 100644
--- a/v2v/input_disk.ml
+++ b/v2v/input_disk.ml
@@ -101,4 +101,7 @@ class input_disk input_format disk = object
2016 Jul 18
0
[PATCH 2/2] v2v: use Getopt.Symbol for few options
...etopt.Clear do_copy, s_"Just write the metadata";
[ L"no-trim" ], Getopt.String ("-", no_trim_warning),
s_"Ignored for backwards compatibility";
- [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)";
- [ M"oa" ], Getopt.String ("sparse|preallocated", set_output_alloc),
+ [ S 'o' ], Getopt.Symbol (o_options, Modules_list.output_modules (), set_output_mode), s_"Set output mode (default: libvirt...
2016 Jul 19
0
[PATCH v2 2/2] v2v: use Getopt.Symbol for few options
...etopt.Clear do_copy, s_"Just write the metadata";
[ L"no-trim" ], Getopt.String ("-", no_trim_warning),
s_"Ignored for backwards compatibility";
- [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)";
- [ M"oa" ], Getopt.String ("sparse|preallocated", set_output_alloc),
+ [ S 'o' ], Getopt.Symbol (o_options, Modules_list.output_modules ~with_alias:true (), set_output_mode), s_"Set output mode...
2016 Jul 19
2
[PATCH v2 1/2] v2v: register also aliases of input/output modules
Extend Modules_list to handle also aliases for input and output modules,
and use this to register the existing aliases.
---
v2v/input_disk.ml | 2 +-
v2v/modules_list.ml | 25 +++++++++++++++++++++----
v2v/modules_list.mli | 8 ++++----
v2v/output_local.ml | 2 +-
v2v/output_rhev.ml | 2 +-
5 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/v2v/input_disk.ml
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...topt.Clear do_copy, s_"Just write the metadata";
+ [ L"no-trim" ], Getopt.String ("-", no_trim_warning),
s_"Ignored for backwards compatibility";
- [ "-o" ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)";
- [ "-oa" ], Getopt.String ("sparse|preallocated", set_output_alloc),
+ [ S 'o' ], Getopt.String (o_options, set_output_mode), s_"Set output mode (default: libvirt)";
+ [ L"oa"...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...lear do_copy, " " ^ s_"Just write the metadata";
- "--no-trim", Arg.String no_trim_warning,
- "-" ^ " " ^ s_"Ignored for backwards compatibility";
- "-o", Arg.String set_output_mode, o_options ^ " " ^ s_"Set output mode (default: libvirt)";
- "-oa", Arg.String set_output_alloc,
- "sparse|preallocated " ^ s_"Set output allocation mode";
- "-oc", Arg.String (s...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2:
- Further fixes to Getopt int parsing.
- Completed the L/S changes.
- Fixed the test suite so it passes now. Also we don't need the
special-case tests for 64 bit arch.
Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4:
- Pushed the first patch upstream since it was ACKed.
- Prevent use of M except for the special virt-v2v options.
- Sort the options after added --help etc.
- Make corresponding fixes to the tests.
Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3:
- Add M variant and test it.
Rich.
2016 Apr 26
4
v2v: Remove --no-trim, --vmtype options and other fixes.
The first two patches implement the change discussed here:
https://www.redhat.com/archives/libguestfs/2016-April/msg00178.html
The third patch fixes the mapping of inspection data to OVF VmType
which was inherited directly from old virt-v2v and had never been
changed. It had a number of problems.
The fourth patch is only slightly related to the others. It adds an
extra slow test to ensure that
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
..." " ^ s_"Just write the metadata";
> - "--no-trim", Arg.String no_trim_warning,
> - "-" ^ " " ^ s_"Ignored for backwards compatibility";
> - "-o", Arg.String set_output_mode, o_options ^ " " ^ s_"Set output mode (default: libvirt)";
> - "-oa", Arg.String set_output_alloc,
> - "sparse|preallocated " ^ s_"Set output allocation mode";
> - "-oc",...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...lear do_copy, " " ^ s_"Just write the metadata";
- "--no-trim", Arg.String no_trim_warning,
- "-" ^ " " ^ s_"Ignored for backwards compatibility";
- "-o", Arg.String set_output_mode, o_options ^ " " ^ s_"Set output mode (default: libvirt)";
- "-oa", Arg.String set_output_alloc,
- "sparse|preallocated " ^ s_"Set output allocation mode";
- "-oc", Arg.String (s...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...lear do_copy, " " ^ s_"Just write the metadata";
- "--no-trim", Arg.String no_trim_warning,
- "-" ^ " " ^ s_"Ignored for backwards compatibility";
- "-o", Arg.String set_output_mode, o_options ^ " " ^ s_"Set output mode (default: libvirt)";
- "-oa", Arg.String set_output_alloc,
- "sparse|preallocated " ^ s_"Set output allocation mode";
- "-oc", Arg.String (s...