Displaying 3 results from an estimated 3 matches for "3c11cd0".
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.
2017 Feb 06
0
[PATCH] v2v: ova: Don't rely on qemu-img version, test "offset" and "size" features.
....com/archives/libguestfs/2017-February/msg00064.html
---
v2v/input_ova.ml | 5 ++---
v2v/utils.ml | 51 +++++++++++++++++++++++++++++++--------------------
v2v/utils.mli | 7 +++----
3 files changed, 36 insertions(+), 27 deletions(-)
diff --git a/v2v/input_ova.ml b/v2v/input_ova.ml
index 3c11cd0..3beaffc 100644
--- a/v2v/input_ova.ml
+++ b/v2v/input_ova.ml
@@ -90,9 +90,8 @@ object
match detect_file_type ova with
| `Tar ->
(* Normal ovas are tar file (not compressed). *)
- let qmajor, qminor = qemu_img_version () in
- if qmajor > 2 || (qm...
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.