Displaying 2 results from an estimated 2 matches for "09d7af5".
2017 Feb 06
0
[PATCH] v2v: ova: Don't rely on qemu-img version, test "offset" and "size" features.
...if qemu_img_supports_offset_and_size () then (
+ (* In newe QEMU we don't have to extract everything.
* We can access disks inside the tar archive directly.
*)
untar_metadata ova tmpdir;
diff --git a/v2v/utils.ml b/v2v/utils.ml
index 6a3074e..09d7af5 100644
--- a/v2v/utils.ml
+++ b/v2v/utils.ml
@@ -91,26 +91,37 @@ let du filename =
| line::_ -> Int64.of_string line
| [] -> invalid_arg filename
-let qemu_img_version () =
- let lines = external_command "qemu-img --version" in
- match lines with
- | [] -> error (f_&qu...
2017 Feb 06
3
[PATCH] v2v: ova: Don't rely on qemu-img version, test "offset" and
Not tested yet, am running the tests now.
Rich.