search for: meta_filenam

Displaying 4 results from an estimated 4 matches for "meta_filenam".

Did you mean: meta_filename
2017 Dec 08
3
[PATCH v2 0/2] v2v: -o null: Use the qemu null device driver.
This changes the infrastructure to allow the target_file to be a QEMU URI. Rich.
2017 Nov 05
3
[PATCH 1/2] common/mlstdutils: Add with_open_in and with_open_out functions.
...qemu-boot option was specified then we should boot the guest. *) diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 0aeee289d..d5911e80e 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -144,9 +144,7 @@ object List.iter ( fun ({ target_file }, meta) -> let meta_filename = target_file ^ ".meta" in - let chan = open_out meta_filename in - output_string chan meta; - close_out chan + with_open_out meta_filename (fun chan -> output_string chan meta) ) (List.combine targets metas); (* Return the list of targets. *) @...
2017 Oct 04
0
[PATCH 2/9] ocaml: Replace pattern matching { field = field } with { field }.
...d 100644 --- a/v2v/output_rhv.ml +++ b/v2v/output_rhv.ml @@ -240,7 +240,7 @@ object Create_ovf.create_meta_files output_alloc esd_uuid image_uuids targets in List.iter ( - fun ({ target_file = target_file }, meta) -> + fun ({ target_file }, meta) -> let meta_filename = target_file ^ ".meta" in Changeuid.make_file changeuid_t meta_filename meta ) (List.combine targets metas); diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 5b4214b62..f60b6b4c7 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -142,7 +142,7 @@ object...
2017 Oct 04
11
[PATCH 0/9] build: Require OCaml >= 4.02.
Per my previous email: https://www.redhat.com/archives/libguestfs/2017-September/msg00203.html I'd like to talk about requiring a more modern version of the OCaml compiler. These commits show some of the code changes which would be possible with OCaml >= 3.12 [which it turns out we already require by accident] and also with OCaml >= 4.02. The latter is my favoured option. Rich.