Displaying 10 results from an estimated 10 matches for "00142".
Did you mean:
0014
2005 Aug 10
1
[LLVMdev] ValueTy not set appropriately in Value.h?
...ues may change as LLVM evolves.
Also, note that
00137 /// starting with the InstructionVal value, the value stored
is actually the
00138 /// Instruction opcode, so there are more than just these
values possible here
00139 /// (and Instruction must be last).
00140 ///
00141 enum ValueTy {
00142 ArgumentVal, // This is an instance of Argument
00143 BasicBlockVal, // This is an instance of BasicBlock
00144 FunctionVal, // This is an instance of Function
00145 GlobalVariableVal, // This is an instance of GlobalVariable
00146 Und...
2018 Aug 16
0
[PATCH v2] v2v: Add --print-estimate option to print copy size estimate.
..._overlay_file } ->
+ if json && i > 0 then printf ",\n%!";
+ let cmd =
+ [ Guestfs_config.qemu_img; "measure";
+ (* For use of -O qcow2 here, see this thread:
+ * https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00142
+ *)
+ "-f"; "qcow2"; "-O"; "qcow2";
+ "--output=" ^ (if json then "json" else "human");
+ ov_overlay_file ] in
+ if run_command cmd <> 0 then
+ error (f_"qemu-img measu...
2018 Aug 23
0
[PATCH v4] v2v: Add --print-estimate option to print copy size estimate.
...d [Guestfs_config.qemu_img; "measure"];
+ (match format with
+ | None -> ()
+ | Some format ->
+ List.push_back_list cmd ["-f"; format]
+ );
+ (* For use of -O qcow2 here, see this thread:
+ * https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00142
+ *)
+ List.push_back_list cmd ["-O"; "qcow2"];
+ List.push_back cmd "--output=json";
+ List.push_back cmd filename;
+
+ let json = Filename.temp_file "v2vmeasure" ".json" in
+ unlink_on_exit json;
+
+ let fd = Unix.openfile json [O_WRONLY;...
2018 Aug 17
0
[PATCH v3 4/4] v2v: Add --print-estimate option to print copy size estimate.
...d [Guestfs_config.qemu_img; "measure"];
+ (match format with
+ | None -> ()
+ | Some format ->
+ List.push_back_list cmd ["-f"; format]
+ );
+ (* For use of -O qcow2 here, see this thread:
+ * https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00142
+ *)
+ List.push_back_list cmd ["-O"; "qcow2"];
+ List.push_back cmd "--output=json";
+ List.push_back cmd filename;
+
+ let json = Filename.temp_file "v2vmeasure" ".json" in
+ unlink_on_exit json;
+
+ let fd = Unix.openfile json [O_WRONLY;...
2018 Aug 24
0
[PATCH v6] v2v: Add --print-estimate option to print copy size estimate.
...d [Guestfs_config.qemu_img; "measure"];
+ (match format with
+ | None -> ()
+ | Some format ->
+ List.push_back_list cmd ["-f"; format]
+ );
+ (* For use of -O qcow2 here, see this thread:
+ * https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00142
+ *)
+ List.push_back_list cmd ["-O"; "qcow2"];
+ List.push_back cmd "--output=json";
+ List.push_back cmd filename;
+
+ let json, chan = Filename.open_temp_file "v2vmeasure" ".json" in
+ unlink_on_exit json;
+ let fd = Unix.descr_of_out_cha...
2018 Aug 23
0
[PATCH v5] v2v: Add --print-estimate option to print copy size estimate.
...d [Guestfs_config.qemu_img; "measure"];
+ (match format with
+ | None -> ()
+ | Some format ->
+ List.push_back_list cmd ["-f"; format]
+ );
+ (* For use of -O qcow2 here, see this thread:
+ * https://www.redhat.com/archives/libguestfs/2018-August/thread.html#00142
+ *)
+ List.push_back_list cmd ["-O"; "qcow2"];
+ List.push_back cmd "--output=json";
+ List.push_back cmd filename;
+
+ let json = Filename.temp_file "v2vmeasure" ".json" in
+ unlink_on_exit json;
+
+ let fd = Unix.openfile json [O_WRONLY;...
2018 Aug 23
2
[PATCH v4] v2v: Add --print-estimate option to print copy size estimate.
v4:
- Same as v3, but depends on and uses new --machine-readable work.
Rich.
2018 Aug 24
2
[PATCH v6] v2v: Add --print-estimate option to print copy size estimate.
v6:
- Make the text output a bit nicer.
- Changes as suggested to Measure_disk module temp file & json parsing.
- Use jq to test JSON output.
- Retest.
2018 Aug 23
2
[PATCH v5] v2v: Add --print-estimate option to print copy size estimate.
v5:
- Normal output modified approx as suggested in previous email.
- Machine readable output uses JSON.
2018 Aug 17
8
[PATCH v3 4/4] v2v: Add --print-estimate option to print copy size
I rethought this again, as I think that it's a dangerous assumption to
bake qemu-img measure output into our API.
This patch series runs qemu-img measure behind the scenes, but then
parses the output and sums it to a single number which we print.
Doing that required a bit of reworking, moving the Jansson [JSON
parser] bindings from virt-builder into the common directory and
a couple of other