Displaying 3 results from an estimated 3 matches for "6a3074e".
Did you mean:
0x3074e
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
- | [] -> err...
2017 Feb 06
2
[PATCH v2] v2v: ova: Don't rely on qemu-img version, test "offset"
v1 -> v2:
- Use 'qemu-img info' which avoids one of the temporary files
(thanks Tomáš).
- Add a unit test.
Unfortunately when I run 'make -C v2v check' I don't think this code
is being run at all, so there may be something else going on here
which I don't understand.
Rich.
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.