diff --git a/v2v/output_rhev.ml b/v2v/output_rhev.ml index 527745682..e45043b0c 100644 --- a/v2v/output_rhev.ml +++ b/v2v/output_rhev.ml @@ -24,7 +24,6 @@ open Printf open Types open Utils -open DOM let rec mount_and_check_storage_domain domain_class os = (* The user can either specify -os nfs:/export, or a local directory @@ -276,7 +275,7 @@ object let dir = esd_mp // esd_uuid // "master" // "vms" // vm_uuid in Changeuid.mkdir changeuid_t dir 0o755; let file = dir // vm_uuid ^ ".ovf" in - Changeuid.output changeuid_t file (fun chan -> doc_to_chan chan ovf); + Changeuid.output changeuid_t file (fun chan -> DOM.doc_to_chan chan ovf); (* Finished, so don't delete the target directory on exit. *) delete_target_directory <- false diff --git a/v2v/output_vdsm.ml b/v2v/output_vdsm.ml index 39f722b3a..7cd94c050 100644 --- a/v2v/output_vdsm.ml +++ b/v2v/output_vdsm.ml @@ -24,7 +24,6 @@ open Printf open Types open Utils -open DOM type vdsm_params = { image_uuids : string list; @@ -171,7 +170,7 @@ object (* Write it to the metadata file. *) let file = vdsm_params.ovf_output // vdsm_params.vm_uuid ^ ".ovf" in let chan = open_out file in - doc_to_chan chan ovf; + DOM.doc_to_chan chan ovf; close_out chan end