Blame SOURCES/0013-Split-long-lines-in-messages.patch

b85204
From bcd60820de1256ef4c36ced54efa1243902411f7 Mon Sep 17 00:00:00 2001
b85204
From: "Richard W.M. Jones" <rjones@redhat.com>
b85204
Date: Fri, 20 Jan 2023 09:58:10 +0000
b85204
Subject: [PATCH] Split long lines in messages
b85204
b85204
This commit splits up any long lines found in errors, warnings or
b85204
other messages.  OCaml ignores whitespace following "\<CR>" within a
b85204
string, eg:
b85204
b85204
  "long string \
b85204
   more stuff"
b85204
b85204
is parsed as:
b85204
b85204
  "long string more stuff"
b85204
b85204
Thanks: Laszlo Ersek, for working out the OCaml syntax for this
b85204
(cherry picked from commit d2b01e487ff4ef56d139a5e0f22efd9b2ed9b64c)
b85204
---
b85204
 convert/convert.ml               | 11 ++++++---
b85204
 convert/inspect_source.ml        | 42 ++++++++++++++++++++++++++------
b85204
 convert/target_bus_assignment.ml |  8 +++++-
b85204
 in-place/in_place.ml             | 16 +++++++++---
b85204
 input/OVA.ml                     | 14 ++++++++---
b85204
 input/OVF.ml                     | 10 +++++---
b85204
 input/input_disk.ml              |  6 +++--
b85204
 input/input_libvirt.ml           |  9 ++++---
b85204
 input/input_ova.ml               |  9 ++++---
b85204
 input/input_vcenter_https.ml     | 15 ++++++++----
b85204
 input/input_vddk.ml              | 16 +++++++++---
b85204
 input/input_xen_ssh.ml           |  9 ++++---
b85204
 input/nbdkit_vddk.ml             |  3 ++-
b85204
 input/parse_domain_from_vmx.ml   |  3 ++-
b85204
 input/parse_libvirt_xml.ml       | 28 ++++++++++++++-------
b85204
 input/vCenter.ml                 |  7 ++++--
b85204
 inspector/inspector.ml           | 26 ++++++++++++++------
b85204
 lib/create_ovf.ml                | 16 +++++++++---
b85204
 lib/libvirt_utils.ml             | 12 ++++++---
b85204
 lib/networks.ml                  | 15 ++++++++----
b85204
 lib/types.ml                     |  3 ++-
b85204
 lib/utils.ml                     |  7 ++++--
b85204
 output/create_libvirt_xml.ml     |  4 ++-
b85204
 output/output.ml                 |  3 ++-
b85204
 output/output_glance.ml          |  5 +++-
b85204
 output/output_kubevirt.ml        |  6 +++--
b85204
 output/output_libvirt.ml         | 20 ++++++++++++---
b85204
 output/output_null.ml            |  3 ++-
b85204
 output/output_openstack.ml       | 24 ++++++++++++------
b85204
 output/output_qemu.ml            |  3 ++-
b85204
 output/output_rhv.ml             | 36 +++++++++++++++++++++------
b85204
 output/output_rhv_upload.ml      | 39 ++++++++++++++++++++---------
b85204
 output/output_vdsm.ml            | 16 ++++++++----
b85204
 v2v/v2v.ml                       | 26 ++++++++++++++------
b85204
 34 files changed, 343 insertions(+), 127 deletions(-)
b85204
b85204
diff --git a/convert/convert.ml b/convert/convert.ml
b85204
index 8d62f6d4..d0d5b773 100644
b85204
--- a/convert/convert.ml
b85204
+++ b/convert/convert.ml
b85204
@@ -181,12 +181,14 @@ and check_guest_free_space inspect mpstats =
b85204
       let needed_bytes = Int64.of_int needed_megabytes *^ 1024L *^ 1024L in
b85204
       if free_bytes < needed_bytes then (
b85204
         let mb i = Int64.to_float i /. 1024. /. 1024. in
b85204
-        error (f_"not enough free space for conversion on filesystem ‘%s’.  %.1f MB free < %d MB needed")
b85204
+        error (f_"not enough free space for conversion on filesystem ‘%s’.  \
b85204
+                  %.1f MB free < %d MB needed")
b85204
           mp_path (mb free_bytes) needed_megabytes
b85204
       );
b85204
       (* Not all the filesystems have inode counts. *)
b85204
       if files > 0L && ffree < needed_inodes then
b85204
-        error (f_"not enough available inodes for conversion on filesystem ‘%s’.  %Ld inodes available < %Ld inodes needed")
b85204
+        error (f_"not enough available inodes for conversion on \
b85204
+                  filesystem ‘%s’.  %Ld inodes available < %Ld inodes needed")
b85204
           mp_path ffree needed_inodes
b85204
   ) mpstats
b85204
 
b85204
@@ -210,7 +212,10 @@ and do_fstrim g inspect =
b85204
       if mounted then (
b85204
         try g#fstrim "/"
b85204
         with G.Error msg ->
b85204
-          warning (f_"fstrim on guest filesystem %s failed.  Usually you can ignore this message.  To find out more read \"Trimming\" in virt-v2v(1).\n\nOriginal message: %s") dev msg
b85204
+          warning (f_"fstrim on guest filesystem %s failed.  Usually you \
b85204
+                      can ignore this message.  To find out more read \
b85204
+                      \"Trimming\" in virt-v2v(1).\n\n\
b85204
+                      Original message: %s") dev msg
b85204
       )
b85204
   ) fses
b85204
 
b85204
diff --git a/convert/inspect_source.ml b/convert/inspect_source.ml
b85204
index a0d9f148..9a6fdab7 100644
b85204
--- a/convert/inspect_source.ml
b85204
+++ b/convert/inspect_source.ml
b85204
@@ -45,8 +45,13 @@ let rec inspect_source root_choice g =
b85204
       (try g#mount dev mp
b85204
        with G.Error msg ->
b85204
          if mp = "/" then ( (* RHBZ#1145995 *)
b85204
-           if String.find msg "Windows" >= 0 && String.find msg "NTFS partition is in an unsafe state" >= 0 then
b85204
-             error (f_"unable to mount the disk image for writing. This has probably happened because Windows Hibernation or Fast Restart is being used in this guest. You have to disable this (in the guest) in order to use virt-v2v.\n\nOriginal error message: %s") msg
b85204
+           if String.find msg "Windows" >= 0 &&
b85204
+                String.find msg "NTFS partition is in an unsafe state" >= 0 then
b85204
+             error (f_"unable to mount the disk image for writing. This has \
b85204
+                       probably happened because Windows Hibernation or \
b85204
+                       Fast Restart is being used in this guest. You have \
b85204
+                       to disable this (in the guest) in order to use \
b85204
+                       virt-v2v.\n\nOriginal error message: %s") msg
b85204
            else
b85204
              error "%s" msg
b85204
          )
b85204
@@ -63,7 +68,12 @@ let rec inspect_source root_choice g =
b85204
         (try g#touch file
b85204
          with G.Error msg ->
b85204
            if g#last_errno () = G.Errno.errno_EROFS then
b85204
-             error (f_"filesystem was mounted read-only, even though we asked for it to be mounted read-write.  This usually means that the filesystem was not cleanly unmounted.  Possible causes include trying to convert a guest which is running, or using Windows Hibernation or Fast Restart.\n\nOriginal error message: %s") msg
b85204
+             error (f_"filesystem was mounted read-only, even though we \
b85204
+                       asked for it to be mounted read-write.  This usually \
b85204
+                       means that the filesystem was not cleanly unmounted.  \
b85204
+                       Possible causes include trying to convert a guest \
b85204
+                       which is running, or using Windows Hibernation or \
b85204
+                       Fast Restart.\n\nOriginal error message: %s") msg
b85204
            else
b85204
              error (f_"could not write to the guest filesystem: %s") msg
b85204
         );
b85204
@@ -128,7 +138,12 @@ let rec inspect_source root_choice g =
b85204
 
b85204
 and choose_root root_choice g = function
b85204
   | [] ->
b85204
-     error (f_"inspection could not detect the source guest (or physical machine).\n\nAssuming that you are running virt-v2v/virt-p2v on a source which is supported (and not, for example, a blank disk), then this should not happen.\n\nNo root device found in this operating system image.");
b85204
+     error (f_"inspection could not detect the source guest \
b85204
+               (or physical machine).\n\nAssuming that you are \
b85204
+               running virt-v2v/virt-p2v on a source which is \
b85204
+               supported (and not, for example, a blank disk), \
b85204
+               then this should not happen.\n\nNo root device \
b85204
+               found in this operating system image.");
b85204
   | [root] -> root (* only one root, so return it *)
b85204
   | roots ->
b85204
      (* If there are multiple roots, use the [--root] option supplied
b85204
@@ -138,7 +153,9 @@ and choose_root root_choice g = function
b85204
      | AskRoot ->
b85204
         (* List out the roots and ask the user to choose. *)
b85204
         printf "\n***\n";
b85204
-        printf (f_"Dual- or multi-boot operating system detected.  Choose the root filesystem\nthat contains the main operating system from the list below:\n");
b85204
+        printf (f_"Dual- or multi-boot operating system detected.  \
b85204
+                   Choose the root filesystem\nthat contains the main \
b85204
+                   operating system from the list below:\n");
b85204
         printf "\n";
b85204
         List.iteri (
b85204
           fun i root ->
b85204
@@ -165,7 +182,9 @@ and choose_root root_choice g = function
b85204
         List.nth roots (!i - 1)
b85204
 
b85204
       | SingleRoot ->
b85204
-        error (f_"multi-boot operating systems are not supported by virt-v2v. Use the --root option to change how virt-v2v handles this.")
b85204
+        error (f_"multi-boot operating systems are not supported by \
b85204
+                  virt-v2v. Use the --root option to change how virt-v2v \
b85204
+                  handles this.")
b85204
 
b85204
       | FirstRoot ->
b85204
         let root = List.hd roots in
b85204
@@ -185,7 +204,10 @@ and choose_root root_choice g = function
b85204
 and reject_if_not_installed_image g root =
b85204
   let fmt = g#inspect_get_format root in
b85204
   if fmt <> "installed" then
b85204
-    error (f_"libguestfs thinks this is not an installed operating system (it might be, for example, an installer disk or live CD).  If this is wrong, it is probably a bug in libguestfs.  root=%s fmt=%s") root fmt
b85204
+    error (f_"libguestfs thinks this is not an installed operating \
b85204
+              system (it might be, for example, an installer disk \
b85204
+              or live CD).  If this is wrong, it is probably a bug \
b85204
+              in libguestfs.  root=%s fmt=%s") root fmt
b85204
 
b85204
 (* Wrapper around g#inspect_list_applications2 which, for RPM
b85204
  * guests, on failure tries to rebuild the RPM database before
b85204
@@ -275,5 +297,9 @@ and sanity_check_inspection inspect =
b85204
 
b85204
 and error_if_unknown fieldname value =
b85204
   if value = "unknown" then
b85204
-    error (f_"inspection could not detect the source guest (or physical machine).\n\nAssuming that you are running virt-v2v/virt-p2v on a source which is supported (and not, for example, a blank disk), then this should not happen.\n\nInspection field ‘%s’ was ‘unknown’.")
b85204
+    error (f_"inspection could not detect the source guest (or \
b85204
+              physical machine).\n\nAssuming that you are running \
b85204
+              virt-v2v/virt-p2v on a source which is supported (and \
b85204
+              not, for example, a blank disk), then this should not \
b85204
+              happen.\n\nInspection field ‘%s’ was ‘unknown’.")
b85204
           fieldname
b85204
diff --git a/convert/target_bus_assignment.ml b/convert/target_bus_assignment.ml
b85204
index f8675cf2..54c9516b 100644
b85204
--- a/convert/target_bus_assignment.ml
b85204
+++ b/convert/target_bus_assignment.ml
b85204
@@ -81,7 +81,13 @@ let rec target_bus_assignment source_disks source_removables guestcaps =
b85204
            ignore (insert_after bus 0 t)
b85204
         | Some desired_slot_nr ->
b85204
            if not (insert_after bus desired_slot_nr t) then
b85204
-             warning (f_"removable %s device in slot %d clashes with another disk, so it has been moved to a higher numbered slot on the same bus.  This may mean that this removable device has a different name inside the guest (for example a CD-ROM originally called /dev/hdc might move to /dev/hdd, or from D: to E: on a Windows guest).")
b85204
+             warning (f_"removable %s device in slot %d clashes with another \
b85204
+                         disk, so it has been moved to a higher numbered slot \
b85204
+                         on the same bus.  This may mean that this removable \
b85204
+                         device has a different name inside the guest (for \
b85204
+                         example a CD-ROM originally called /dev/hdc might \
b85204
+                         move to /dev/hdd, or from D: to E: on a Windows \
b85204
+                         guest).")
b85204
                      (match r.s_removable_type with
b85204
                       | CDROM -> s_"CD-ROM"
b85204
                       | Floppy -> s_"floppy disk")
b85204
diff --git a/in-place/in_place.ml b/in-place/in_place.ml
b85204
index 7e531bc4..55541814 100644
b85204
--- a/in-place/in_place.ml
b85204
+++ b/in-place/in_place.ml
b85204
@@ -104,7 +104,8 @@ let rec main () =
b85204
      *)
b85204
     let rec error_unless_ip_addr what addr =
b85204
       if not (PCRE.matches mac_ip_re addr) then
b85204
-        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” is an IP address") what addr
b85204
+        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” is \
b85204
+                  an IP address") what addr
b85204
     in
b85204
     error_unless_ip_addr "ipaddr" if_ip_address;
b85204
     Option.may (error_unless_ip_addr "gw") if_default_gateway;
b85204
@@ -115,7 +116,8 @@ let rec main () =
b85204
       | Some len ->
b85204
          let len =
b85204
            try int_of_string len with
b85204
-           | Failure _ -> error (f_"cannot parse --mac ip prefix length field as an integer: %s") len in
b85204
+           | Failure _ -> error (f_"cannot parse --mac ip prefix length \
b85204
+                                    field as an integer: %s") len in
b85204
          if len < 0 || len > 128 then
b85204
            error (f_"--mac ip prefix length field is out of range");
b85204
          Some len in
b85204
@@ -254,7 +256,8 @@ read the man page virt-v2v-in-place(1).
b85204
           let { Xml.uri_server = server; uri_scheme = scheme } =
b85204
             try Xml.parse_uri orig_uri
b85204
             with Invalid_argument msg ->
b85204
-              error (f_"could not parse '-ic %s'.  Original error message was: %s")
b85204
+              error (f_"could not parse '-ic %s'.  Original error \
b85204
+                        message was: %s")
b85204
                 orig_uri msg in
b85204
 
b85204
           match server, scheme with
b85204
@@ -357,7 +360,12 @@ and check_host_free_space () =
b85204
   debug "check_host_free_space: large_tmpdir=%s free_space=%Ld"
b85204
         large_tmpdir free_space;
b85204
   if free_space < 1_073_741_824L then
b85204
-    error (f_"insufficient free space in the conversion server temporary directory %s (%s).\n\nEither free up space in that directory, or set the LIBGUESTFS_CACHEDIR environment variable to point to another directory with more than 1GB of free space.\n\nSee also the virt-v2v(1) manual, section \"Minimum free space check in the host\".")
b85204
+    error (f_"insufficient free space in the conversion server temporary \
b85204
+              directory %s (%s).\n\nEither free up space in that directory, \
b85204
+              or set the LIBGUESTFS_CACHEDIR environment variable to point \
b85204
+              to another directory with more than 1GB of free space.\n\n\
b85204
+              See also the virt-v2v(1) manual, section \"Minimum free \
b85204
+              space check in the host\".")
b85204
           large_tmpdir (human_size free_space)
b85204
 
b85204
 let () = run_main_and_handle_errors main
b85204
diff --git a/input/OVA.ml b/input/OVA.ml
b85204
index 09ceee98..e26059bf 100644
b85204
--- a/input/OVA.ml
b85204
+++ b/input/OVA.ml
b85204
@@ -118,11 +118,15 @@ let rec parse_ova ova =
b85204
              untar ~format ova tmpdir;
b85204
              tmpdir, Directory
b85204
           | `Zip | `GZip | `XZ | `Unknown ->
b85204
-             error (f_"%s: unsupported file format\n\nFormats which we currently understand for '-i ova' are: tar (uncompressed, compress with gzip or xz), zip") ova
b85204
+             error (f_"%s: unsupported file format\n\nFormats which we \
b85204
+                       currently understand for '-i ova' are: tar \
b85204
+                       (uncompressed, compress with gzip or xz), zip") ova
b85204
          )
b85204
 
b85204
       | `Unknown ->
b85204
-         error (f_"%s: unsupported file format\n\nFormats which we currently understand for '-i ova' are: tar (uncompressed, compress with gzip or xz), zip") ova
b85204
+         error (f_"%s: unsupported file format\n\nFormats which we \
b85204
+                   currently understand for '-i ova' are: tar (uncompressed, \
b85204
+                   compress with gzip or xz), zip") ova
b85204
     ) in
b85204
 
b85204
   (* Exploded path must be absolute (RHBZ#1155121). *)
b85204
@@ -140,7 +144,8 @@ let rec parse_ova ova =
b85204
    * so it is readable by qemu.qemu.  This is libvirt bug RHBZ#890291.
b85204
    *)
b85204
   if Unix.geteuid () = 0 && backend_is_libvirt () then (
b85204
-    warning (f_"making OVA directory public readable to work around libvirt bug https://bugzilla.redhat.com/1045069");
b85204
+    warning (f_"making OVA directory public readable to work around \
b85204
+                libvirt bug https://bugzilla.redhat.com/1045069");
b85204
     let what =
b85204
       match ova_type with
b85204
       | Directory -> [ top_dir ]
b85204
@@ -348,7 +353,8 @@ let resolve_href ({ top_dir; ova_type } as t) href =
b85204
      (try
b85204
         let filename = Realpath.realpath filename in
b85204
         if not (String.is_prefix filename real_top_dir) then
b85204
-          error (f_"-i ova: invalid OVA file: path ‘%s’ references a file outside the archive") href;
b85204
+          error (f_"-i ova: invalid OVA file: path ‘%s’ references a file \
b85204
+                    outside the archive") href;
b85204
         Some (LocalFile filename)
b85204
       with
b85204
         Unix_error (ENOENT, "realpath", _) -> None
b85204
diff --git a/input/OVF.ml b/input/OVF.ml
b85204
index 16c0b09c..48d5a684 100644
b85204
--- a/input/OVF.ml
b85204
+++ b/input/OVF.ml
b85204
@@ -99,7 +99,8 @@ let rec parse_ovf_from_ova ovf_filename =
b85204
     | "bios" -> BIOS
b85204
     | "efi" -> UEFI
b85204
     | s ->
b85204
-       error (f_"unknown Config:firmware value %s (expected \"bios\" or \"efi\")") s in
b85204
+       error (f_"unknown Config:firmware value %s (expected \"bios\" \
b85204
+                 or \"efi\")") s in
b85204
 
b85204
   name, memory, vcpu, cpu_topology, firmware,
b85204
   parse_disks xpathctx, parse_removables xpathctx, parse_nics xpathctx
b85204
@@ -254,10 +255,13 @@ and parent_controller xpathctx id =
b85204
   | Some 6 -> Some Source_SCSI
b85204
   | Some 20 -> Some Source_SATA
b85204
   | None ->
b85204
-     warning (f_"ova disk has no parent controller, please report this as a bug supplying the *.ovf file extracted from the ova");
b85204
+     warning (f_"ova disk has no parent controller, please report this as \
b85204
+                 a bug supplying the *.ovf file extracted from the ova");
b85204
      None
b85204
   | Some controller ->
b85204
-     warning (f_"ova disk has an unknown VMware controller type (%d), please report this as a bug supplying the *.ovf file extracted from the ova")
b85204
+     warning (f_"ova disk has an unknown VMware controller type (%d), please \
b85204
+                 report this as a bug supplying the *.ovf file extracted \
b85204
+                 from the ova")
b85204
              controller;
b85204
      None
b85204
 
b85204
diff --git a/input/input_disk.ml b/input/input_disk.ml
b85204
index 508adf9d..279250fe 100644
b85204
--- a/input/input_disk.ml
b85204
+++ b/input/input_disk.ml
b85204
@@ -40,7 +40,8 @@ module Disk = struct
b85204
       error (f_"no -io (input options) are allowed here");
b85204
 
b85204
     if args = [] then
b85204
-      error (f_"-i disk: expecting a disk image (filename) on the command line");
b85204
+      error (f_"-i disk: expecting a disk image (filename) \
b85204
+                on the command line");
b85204
 
b85204
     (* Check the input files exist and are readable. *)
b85204
     List.iter (fun disk -> access disk [R_OK]) args;
b85204
@@ -88,7 +89,8 @@ module Disk = struct
b85204
 
b85204
     (* Check nbdkit is installed. *)
b85204
     if not (Nbdkit.is_installed ()) then
b85204
-      error (f_"nbdkit is not installed or not working.  It is required to use ‘-i disk’.");
b85204
+      error (f_"nbdkit is not installed or not working.  It is required to \
b85204
+                use ‘-i disk’.");
b85204
 
b85204
     if not (Nbdkit.probe_plugin "file") then
b85204
       error (f_"nbdkit-file-plugin is not installed or not working");
b85204
diff --git a/input/input_libvirt.ml b/input/input_libvirt.ml
b85204
index 9311e89a..9e40fab5 100644
b85204
--- a/input/input_libvirt.ml
b85204
+++ b/input/input_libvirt.ml
b85204
@@ -38,7 +38,8 @@ let rec get_source_from_libvirt options args =
b85204
     match args with
b85204
     | [arg] -> arg
b85204
     | _ ->
b85204
-       error (f_"-i libvirt: expecting a libvirt guest name on the command line") in
b85204
+       error (f_"-i libvirt: expecting a libvirt guest name \
b85204
+                 on the command line") in
b85204
 
b85204
   (* Connect to the hypervisor. *)
b85204
   let conn =
b85204
@@ -55,7 +56,8 @@ and get_source_from_libvirt_xml _ args =
b85204
     match args with
b85204
     | [arg] -> arg
b85204
     | _ ->
b85204
-       error (f_"-i libvirtxml: expecting a libvirt XML filename on the command line") in
b85204
+       error (f_"-i libvirtxml: expecting a libvirt XML filename \
b85204
+                 on the command line") in
b85204
   let xml = read_whole_file xmlfile in
b85204
   let source, disks = parse_libvirt_xml xml in
b85204
   source, disks
b85204
@@ -63,7 +65,8 @@ and get_source_from_libvirt_xml _ args =
b85204
 and setup_servers options dir disks =
b85204
   (* Check nbdkit is installed. *)
b85204
   if not (Nbdkit.is_installed ()) then
b85204
-    error (f_"nbdkit is not installed or not working.  It is required to use ‘-i libvirt|libvirtxml’.");
b85204
+    error (f_"nbdkit is not installed or not working.  It is required to \
b85204
+              use ‘-i libvirt|libvirtxml’.");
b85204
 
b85204
   if not (Nbdkit.probe_plugin "file") then
b85204
     error (f_"nbdkit-file-plugin is not installed or not working");
b85204
diff --git a/input/input_ova.ml b/input/input_ova.ml
b85204
index 8ec1f802..7404acc3 100644
b85204
--- a/input/input_ova.ml
b85204
+++ b/input/input_ova.ml
b85204
@@ -76,14 +76,16 @@ module OVA = struct
b85204
         match r with
b85204
         | Checksums.Good_checksum -> ()
b85204
         | Checksums.Mismatched_checksum (_, actual) ->
b85204
-           error (f_"-i ova: corrupt OVA: checksum of disk %s does not match manifest (actual = %s, expected = %s)")
b85204
+           error (f_"-i ova: corrupt OVA: checksum of disk %s does not match \
b85204
+                     manifest (actual = %s, expected = %s)")
b85204
              filename actual (Checksums.string_of_csum_t csum)
b85204
         | Checksums.Missing_file ->
b85204
            (* RHBZ#1570407: Some OVA files generated by VMware
b85204
             * reference non-existent components in the *.mf file.
b85204
             * Generate a warning and ignore it.
b85204
             *)
b85204
-           warning (f_"manifest has a checksum for non-existent file %s (ignored)")
b85204
+           warning (f_"manifest has a checksum for non-existent file %s \
b85204
+                       (ignored)")
b85204
              filename
b85204
     ) manifest;
b85204
 
b85204
@@ -234,5 +236,6 @@ module OVA = struct
b85204
     else None
b85204
 
b85204
   and error_missing_href href =
b85204
-    error (f_"-i ova: OVF references file ‘%s’ which was not found in the OVA archive") href
b85204
+    error (f_"-i ova: OVF references file ‘%s’ which was not found \
b85204
+              in the OVA archive") href
b85204
 end
b85204
diff --git a/input/input_vcenter_https.ml b/input/input_vcenter_https.ml
b85204
index 863f3a00..7c505296 100644
b85204
--- a/input/input_vcenter_https.ml
b85204
+++ b/input/input_vcenter_https.ml
b85204
@@ -67,14 +67,16 @@ module VCenterHTTPS = struct
b85204
       match args with
b85204
       | [arg] -> arg
b85204
       | _ ->
b85204
-         error (f_"-i libvirt: expecting a libvirt guest name on the command line") in
b85204
+         error (f_"-i libvirt: expecting a libvirt guest name \
b85204
+                   on the command line") in
b85204
 
b85204
     (* -ip is required in this mode, see RHBZ#1960087 *)
b85204
     let password_file =
b85204
       match options.input_password with
b85204
       | Some file -> file
b85204
       | None ->
b85204
-         error (f_"-i libvirt: expecting -ip passwordfile parameter for vCenter connection") in
b85204
+         error (f_"-i libvirt: expecting -ip passwordfile parameter for \
b85204
+                   vCenter connection") in
b85204
 
b85204
     (* -ic must be set and it must contain a server.  This is
b85204
      * enforced by virt-v2v.
b85204
@@ -83,7 +85,8 @@ module VCenterHTTPS = struct
b85204
       match options.input_conn with
b85204
       | Some ic -> ic
b85204
       | None ->
b85204
-         error (f_"-i libvirt: expecting -ic parameter for vcenter connection") in
b85204
+         error (f_"-i libvirt: expecting -ic parameter for \
b85204
+                   vcenter connection") in
b85204
 
b85204
     let uri =
b85204
       try Xml.parse_uri input_conn
b85204
@@ -95,7 +98,8 @@ module VCenterHTTPS = struct
b85204
       match uri with
b85204
       | { Xml.uri_server = Some server } -> server
b85204
       | { Xml.uri_server = None } ->
b85204
-         error (f_"-i libvirt: expecting -ic parameter to contain vcenter server name") in
b85204
+         error (f_"-i libvirt: expecting -ic parameter to contain \
b85204
+                   vcenter server name") in
b85204
 
b85204
     (* Connect to the hypervisor. *)
b85204
     let conn =
b85204
@@ -116,7 +120,8 @@ module VCenterHTTPS = struct
b85204
       match xpath_string xpathctx "/domain/vmware:datacenterpath" with
b85204
       | Some dcPath -> dcPath
b85204
       | None ->
b85204
-         error (f_"vcenter: <vmware:datacenterpath> was not found in the XML.  You need to upgrade to libvirt ≥ 1.2.20.") in
b85204
+         error (f_"vcenter: <vmware:datacenterpath> was not found in the XML.  \
b85204
+                   You need to upgrade to libvirt ≥ 1.2.20.") in
b85204
 
b85204
     List.iteri (
b85204
       fun i { d_format = format; d_type } ->
b85204
diff --git a/input/input_vddk.ml b/input/input_vddk.ml
b85204
index e48495d3..6444ce18 100644
b85204
--- a/input/input_vddk.ml
b85204
+++ b/input/input_vddk.ml
b85204
@@ -95,14 +95,18 @@ information on these settings.
b85204
 
b85204
     (* thumbprint is mandatory. *)
b85204
     if not (List.mem_assoc "thumbprint" io_options) then
b85204
-      error (f_"You must pass the ‘-io vddk-thumbprint’ option with the SSL thumbprint of the VMware server.  To find the thumbprint, see the nbdkit-vddk-plugin(1) manual.  See also the virt-v2v-input-vmware(1) manual.");
b85204
+      error (f_"You must pass the ‘-io vddk-thumbprint’ option with the \
b85204
+                SSL thumbprint of the VMware server.  To find the thumbprint, \
b85204
+                see the nbdkit-vddk-plugin(1) manual.  See also the \
b85204
+                virt-v2v-input-vmware(1) manual.");
b85204
 
b85204
     (* Get the guest name. *)
b85204
     let guest =
b85204
       match args with
b85204
       | [arg] -> arg
b85204
       | _ ->
b85204
-         error (f_"-i libvirt: expecting a libvirt guest name on the command line") in
b85204
+         error (f_"-i libvirt: expecting a libvirt guest name \
b85204
+                   on the command line") in
b85204
 
b85204
     (* -ic must be set and it must contain a server.  This is
b85204
      * enforced by virt-v2v.
b85204
@@ -111,7 +115,8 @@ information on these settings.
b85204
       match options.input_conn with
b85204
       | Some ic -> ic
b85204
       | None ->
b85204
-         error (f_"-i libvirt: expecting -ic parameter for vcenter connection") in
b85204
+         error (f_"-i libvirt: expecting -ic parameter \
b85204
+                   for vcenter connection") in
b85204
 
b85204
     if not options.read_only then
b85204
       error (f_"in-place mode does not work with VDDK source");
b85204
@@ -143,7 +148,10 @@ information on these settings.
b85204
       match xpath_string "/domain/vmware:moref" with
b85204
       | Some moref -> moref
b85204
       | None ->
b85204
-         error (f_"<vmware:moref> was not found in the output of ‘virsh dumpxml \"%s\"’.  The most likely reason is that libvirt is too old, try upgrading libvirt to ≥ 3.7.") guest in
b85204
+         error (f_"<vmware:moref> was not found in the output of \
b85204
+                   ‘virsh dumpxml \"%s\"’.  The most likely reason is that \
b85204
+                   libvirt is too old, try upgrading \
b85204
+                   libvirt to ≥ 3.7.") guest in
b85204
 
b85204
     (* It probably never happens that the server name can be missing
b85204
      * from the libvirt URI, but we need a server name to pass to
b85204
diff --git a/input/input_xen_ssh.ml b/input/input_xen_ssh.ml
b85204
index 0aad36a8..b583bd55 100644
b85204
--- a/input/input_xen_ssh.ml
b85204
+++ b/input/input_xen_ssh.ml
b85204
@@ -54,14 +54,16 @@ module XenSSH = struct
b85204
       match args with
b85204
       | [arg] -> arg
b85204
       | _ ->
b85204
-         error (f_"-i libvirt: expecting a libvirt guest name on the command line") in
b85204
+         error (f_"-i libvirt: expecting a libvirt guest name \
b85204
+                   on the command line") in
b85204
 
b85204
     (* -ic must be set. *)
b85204
     let input_conn =
b85204
       match options.input_conn with
b85204
       | Some ic -> ic
b85204
       | None ->
b85204
-         error (f_"-i libvirt: expecting -ic parameter for Xen over SSH connection") in
b85204
+         error (f_"-i libvirt: expecting -ic parameter for \
b85204
+                   Xen over SSH connection") in
b85204
 
b85204
     let uri =
b85204
       try Xml.parse_uri input_conn
b85204
@@ -82,7 +84,8 @@ module XenSSH = struct
b85204
       match uri.Xml.uri_server with
b85204
       | Some server -> server
b85204
       | None ->
b85204
-         error (f_"‘-ic %s’ URL does not contain a host name field") input_conn in
b85204
+         error (f_"‘-ic %s’ URL does not contain a host name field")
b85204
+           input_conn in
b85204
 
b85204
     let port =
b85204
       match uri.uri_port with
b85204
diff --git a/input/nbdkit_vddk.ml b/input/nbdkit_vddk.ml
b85204
index 9609c442..86d9b1a9 100644
b85204
--- a/input/nbdkit_vddk.ml
b85204
+++ b/input/nbdkit_vddk.ml
b85204
@@ -70,7 +70,8 @@ let create_vddk ?bandwidth ?config ?cookie ?cor ?libdir ~moref
b85204
     | None -> ()
b85204
     | Some libdir ->
b85204
        if not (is_directory libdir) then
b85204
-         error (f_"‘-io vddk-libdir=%s’ does not point to a directory.  See the virt-v2v-input-vmware(1) manual.") libdir
b85204
+         error (f_"‘-io vddk-libdir=%s’ does not point to a directory.  \
b85204
+                   See the virt-v2v-input-vmware(1) manual.") libdir
b85204
   in
b85204
 
b85204
   (* Check that the VDDK plugin is installed and working.  We also
b85204
diff --git a/input/parse_domain_from_vmx.ml b/input/parse_domain_from_vmx.ml
b85204
index 7aca2c24..15ee093f 100644
b85204
--- a/input/parse_domain_from_vmx.ml
b85204
+++ b/input/parse_domain_from_vmx.ml
b85204
@@ -82,7 +82,8 @@ let scp_from_remote_to_temporary uri tmpdir filename =
b85204
   if verbose () then
b85204
     eprintf "%s\n%!" cmd;
b85204
   if Sys.command cmd <> 0 then
b85204
-    error (f_"could not copy the VMX file from the remote server, see earlier error messages");
b85204
+    error (f_"could not copy the VMX file from the remote server, \
b85204
+              see earlier error messages");
b85204
   localfile
b85204
 
b85204
 (* Test if [path] exists on the remote server. *)
b85204
diff --git a/input/parse_libvirt_xml.ml b/input/parse_libvirt_xml.ml
b85204
index 65693c98..123d09f4 100644
b85204
--- a/input/parse_libvirt_xml.ml
b85204
+++ b/input/parse_libvirt_xml.ml
b85204
@@ -44,7 +44,8 @@ let get_drive_slot str offset =
b85204
   let name = String.sub str offset (String.length str - offset) in
b85204
   try Some (drive_index name)
b85204
   with Invalid_argument _ ->
b85204
-       warning (f_"could not parse device name ‘%s’ from the source libvirt XML") str;
b85204
+       warning (f_"could not parse device name ‘%s’ \
b85204
+                   from the source libvirt XML") str;
b85204
        None
b85204
 
b85204
 let parse_libvirt_xml ?conn xml =
b85204
@@ -70,7 +71,8 @@ let parse_libvirt_xml ?conn xml =
b85204
   let hypervisor =
b85204
     match xpath_string "/domain/@type" with
b85204
     | None | Some "" ->
b85204
-       error (f_"in the libvirt XML metadata, <domain type='...'> is missing or empty")
b85204
+       error (f_"in the libvirt XML metadata, <domain type='...'> \
b85204
+                 is missing or empty")
b85204
     | Some s -> source_hypervisor_of_string s in
b85204
   let name =
b85204
     match xpath_string "/domain/name/text()" with
b85204
@@ -155,7 +157,8 @@ let parse_libvirt_xml ?conn xml =
b85204
           | Some "none" ->
b85204
             LNone
b85204
           | Some t ->
b85204
-            warning (f_"<listen type='%s'> in the input libvirt XML was ignored") t;
b85204
+            warning (f_"<listen type='%s'> in the input libvirt XML \
b85204
+                        was ignored") t;
b85204
             LNoListen
b85204
         ) in
b85204
       let port =
b85204
@@ -176,10 +179,13 @@ let parse_libvirt_xml ?conn xml =
b85204
                s_keymap = keymap; s_password = password; s_listen = listen;
b85204
                s_port = port }
b85204
       | Some ("sdl"|"desktop" as t) ->
b85204
-        warning (f_"virt-v2v does not support local displays, so <graphics type='%s'> in the input libvirt XML was ignored") t;
b85204
+        warning (f_"virt-v2v does not support local displays, so \
b85204
+                    <graphics type='%s'> in the input libvirt XML was ignored")
b85204
+          t;
b85204
         None
b85204
       | Some t ->
b85204
-        warning (f_"display <graphics type='%s'> in the input libvirt XML was ignored") t;
b85204
+        warning (f_"display <graphics type='%s'> in the input \
b85204
+                    libvirt XML was ignored") t;
b85204
         None
b85204
     ) in
b85204
 
b85204
@@ -297,7 +303,8 @@ let parse_libvirt_xml ?conn xml =
b85204
              sprintf "%s://%s%s%s" driver host port (uri_quote path) in
b85204
            add_disk format controller (HTTP url)
b85204
         | Some protocol, _, _ ->
b85204
-           warning (f_"<disk type='network'> with <source protocol='%s'> was ignored")
b85204
+           warning (f_"<disk type='network'> with <source protocol='%s'> \
b85204
+                       was ignored")
b85204
                    protocol
b85204
         )
b85204
       | Some "volume" ->
b85204
@@ -323,7 +330,8 @@ let parse_libvirt_xml ?conn xml =
b85204
              | None -> ()
b85204
             );
b85204
           | Some vol_type ->
b85204
-            warning (f_"<disk type='volume'> with <volume type='%s'> was ignored") vol_type
b85204
+            warning (f_"<disk type='volume'> with <volume type='%s'> \
b85204
+                        was ignored") vol_type
b85204
           )
b85204
         )
b85204
       | Some disk_type ->
b85204
@@ -364,13 +372,15 @@ let parse_libvirt_xml ?conn xml =
b85204
            let name = String.sub dev 2 (String.length dev - 2) in
b85204
            (try Some (int_of_string name)
b85204
             with Failure _ ->
b85204
-              warning (f_"could not parse device name ‘%s’ from the source libvirt XML") dev;
b85204
+              warning (f_"could not parse device name ‘%s’ \
b85204
+                          from the source libvirt XML") dev;
b85204
               None
b85204
            )
b85204
         | Some dev ->
b85204
            let rec loop = function
b85204
              | [] ->
b85204
-                warning (f_"<target dev='%s'> was ignored because the device name could not be recognized") dev;
b85204
+                warning (f_"<target dev='%s'> was ignored because \
b85204
+                            the device name could not be recognized") dev;
b85204
                 None
b85204
              | prefix :: rest ->
b85204
                 if String.is_prefix dev prefix then (
b85204
diff --git a/input/vCenter.ml b/input/vCenter.ml
b85204
index 8a1a5655..f3bc80e2 100644
b85204
--- a/input/vCenter.ml
b85204
+++ b/input/vCenter.ml
b85204
@@ -69,7 +69,9 @@ let rec start_nbdkit_for_path ?bandwidth ?cor ?password_file
b85204
       if uri.uri_user <> None then
b85204
         error (f_"vcenter: incorrect username or password")
b85204
       else
b85204
-        error (f_"vcenter: incorrect username or password.  You might need to specify the username in the URI like this: [vpx|esx|..]://USERNAME@[etc]")
b85204
+        error (f_"vcenter: incorrect username or password.  You might need \
b85204
+                  to specify the username in the URI like this: \
b85204
+                  [vpx|esx|..]://USERNAME@[etc]")
b85204
     );
b85204
 
b85204
     if status = "404" then (
b85204
@@ -150,7 +152,8 @@ and fetch_headers_from_url password_file uri sslverify https_url =
b85204
   (match uri.uri_user, password_file with
b85204
    | None, None -> ()
b85204
    | None, Some _ ->
b85204
-      warning (f_"-ip PASSWORD_FILE parameter ignored because 'user@' was not given in the URL")
b85204
+      warning (f_"-ip PASSWORD_FILE parameter ignored because \
b85204
+                  'user@' was not given in the URL")
b85204
    | Some user, None ->
b85204
       List.push_back curl_args ("user", Some user)
b85204
    | Some user, Some password_file ->
b85204
diff --git a/inspector/inspector.ml b/inspector/inspector.ml
b85204
index 222371d5..13d58df3 100644
b85204
--- a/inspector/inspector.ml
b85204
+++ b/inspector/inspector.ml
b85204
@@ -111,7 +111,8 @@ let rec main () =
b85204
      *)
b85204
     let rec error_unless_ip_addr what addr =
b85204
       if not (PCRE.matches mac_ip_re addr) then
b85204
-        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” is an IP address") what addr
b85204
+        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” \
b85204
+                  is an IP address") what addr
b85204
     in
b85204
     error_unless_ip_addr "ipaddr" if_ip_address;
b85204
     Option.may (error_unless_ip_addr "gw") if_default_gateway;
b85204
@@ -122,7 +123,8 @@ let rec main () =
b85204
       | Some len ->
b85204
          let len =
b85204
            try int_of_string len with
b85204
-           | Failure _ -> error (f_"cannot parse --mac ip prefix length field as an integer: %s") len in
b85204
+           | Failure _ -> error (f_"cannot parse --mac ip prefix \
b85204
+                                    length field as an integer: %s") len in
b85204
          if len < 0 || len > 128 then
b85204
            error (f_"--mac ip prefix length field is out of range");
b85204
          Some len in
b85204
@@ -191,7 +193,8 @@ A short summary of the options is given below.  For detailed help please
b85204
 read the man page virt-v2v-inspector(1).
b85204
 ")
b85204
       prog in
b85204
-  let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true ~machine_readable:true usage_msg in
b85204
+  let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true
b85204
+                    ~machine_readable:true usage_msg in
b85204
   Getopt.parse opthandle.getopt;
b85204
 
b85204
   (* Print the version, easier than asking users to tell us. *)
b85204
@@ -260,7 +263,8 @@ read the man page virt-v2v-inspector(1).
b85204
           let { Xml.uri_server = server; uri_scheme = scheme } =
b85204
             try Xml.parse_uri orig_uri
b85204
             with Invalid_argument msg ->
b85204
-              error (f_"could not parse '-ic %s'.  Original error message was: %s")
b85204
+              error (f_"could not parse '-ic %s'.  \
b85204
+                        Original error message was: %s")
b85204
                 orig_uri msg in
b85204
 
b85204
           match server, scheme, input_transport with
b85204
@@ -290,7 +294,9 @@ read the man page virt-v2v-inspector(1).
b85204
 
b85204
           (* Unknown remote scheme. *)
b85204
           | Some _, Some _, _ ->
b85204
-             warning (f_"no support for remote libvirt connections to '-ic %s'.  The conversion may fail when it tries to read the source disks.") orig_uri;
b85204
+             warning (f_"no support for remote libvirt connections \
b85204
+                         to '-ic %s'.  The conversion may fail when it \
b85204
+                         tries to read the source disks.") orig_uri;
b85204
              (module Input_libvirt.Libvirt_) in
b85204
 
b85204
   let input_options = {
b85204
@@ -374,8 +380,14 @@ and check_host_free_space () =
b85204
   debug "check_host_free_space: large_tmpdir=%s free_space=%Ld"
b85204
         large_tmpdir free_space;
b85204
   if free_space < 1_073_741_824L then
b85204
-    error (f_"insufficient free space in the conversion server temporary directory %s (%s).\n\nEither free up space in that directory, or set the LIBGUESTFS_CACHEDIR environment variable to point to another directory with more than 1GB of free space.\n\nSee also the virt-v2v(1) manual, section \"Minimum free space check in the host\".")
b85204
-          large_tmpdir (human_size free_space)
b85204
+    error (f_"insufficient free space in the conversion server \
b85204
+              temporary directory %s (%s).\n\nEither free up space \
b85204
+              in that directory, or set the LIBGUESTFS_CACHEDIR \
b85204
+              environment variable to point to another directory \
b85204
+              with more than 1GB of free space.\n\nSee also the \
b85204
+              virt-v2v(1) manual, section \
b85204
+              \"Minimum free space check in the host\".")
b85204
+      large_tmpdir (human_size free_space)
b85204
 
b85204
 (* This is a copy of {!Output.get_disks}. *)
b85204
 and get_disks dir =
b85204
diff --git a/lib/create_ovf.ml b/lib/create_ovf.ml
b85204
index 79b32857..5e444868 100644
b85204
--- a/lib/create_ovf.ml
b85204
+++ b/lib/create_ovf.ml
b85204
@@ -515,13 +515,17 @@ let create_meta_files output_alloc output_format sd_uuid image_uuids sizes =
b85204
     | "raw" -> "RAW"
b85204
     | "qcow2" -> "COW"
b85204
     | _ ->
b85204
-       error (f_"RHV does not support the output format ‘%s’, only raw or qcow2") output_format in
b85204
+       error (f_"RHV does not support the output format ‘%s’, \
b85204
+                 only raw or qcow2") output_format in
b85204
 
b85204
   List.mapi (
b85204
     fun i (virtual_size, image_uuid) ->
b85204
       let size_in_sectors =
b85204
         if virtual_size &^ 511L <> 0L then
b85204
-          error (f_"the virtual size of the input disk %d is not an exact multiple of 512 bytes.  The virtual size is: %Ld.\n\nThis probably means something unexpected is going on, so please file a bug about this issue.")
b85204
+          error (f_"the virtual size of the input disk %d is not an \
b85204
+                    exact multiple of 512 bytes.  The virtual size is: \
b85204
+                    %Ld.\n\nThis probably means something unexpected is \
b85204
+                    going on, so please file a bug about this issue.")
b85204
             i virtual_size;
b85204
         virtual_size /^ 512L in
b85204
 
b85204
@@ -782,7 +786,10 @@ let rec create_ovf source inspect
b85204
    *)
b85204
   (match source with
b85204
   | { s_display = Some { s_password = Some _ } } ->
b85204
-    warning (f_"This guest required a password for connection to its display, but this is not supported by RHV.  Therefore the converted guest’s display will not require a separate password to connect.");
b85204
+    warning (f_"This guest required a password for connection to its display, \
b85204
+                but this is not supported by RHV.  Therefore the converted \
b85204
+                guest’s display will not require a separate password \
b85204
+                to connect.");
b85204
     | _ -> ());
b85204
 
b85204
   if verbose () then (
b85204
@@ -871,7 +878,8 @@ and add_disks sizes guestcaps output_alloc output_format
b85204
         | "raw" -> "RAW"
b85204
         | "qcow2" -> "COW"
b85204
         | _ ->
b85204
-          error (f_"RHV does not support the output format ‘%s’, only raw or qcow2") output_format in
b85204
+          error (f_"RHV does not support the output format ‘%s’, \
b85204
+                    only raw or qcow2") output_format in
b85204
 
b85204
       (* Note: Upper case in the .meta, mixed case in the OVF. *)
b85204
       let output_alloc_for_rhv =
b85204
diff --git a/lib/libvirt_utils.ml b/lib/libvirt_utils.ml
b85204
index 1a24b049..da5cbd5e 100644
b85204
--- a/lib/libvirt_utils.ml
b85204
+++ b/lib/libvirt_utils.ml
b85204
@@ -28,7 +28,8 @@ let auth_for_password_file ?password_file () =
b85204
   let auth_fn creds =
b85204
     List.map (
b85204
       function
b85204
-      | { Libvirt.Connect.typ = Libvirt.Connect.CredentialPassphrase } -> password
b85204
+      | { Libvirt.Connect.typ = Libvirt.Connect.CredentialPassphrase } ->
b85204
+         password
b85204
       | _ -> None
b85204
     ) creds
b85204
   in
b85204
@@ -65,7 +66,8 @@ let get_domain conn name =
b85204
   if not (String.is_prefix uri "test:") then (
b85204
     (match (Libvirt.Domain.get_info dom).Libvirt.Domain.state with
b85204
     | InfoRunning | InfoBlocked | InfoPaused ->
b85204
-      error (f_"libvirt domain ‘%s’ is running or paused.  It must be shut down in order to perform virt-v2v conversion")
b85204
+      error (f_"libvirt domain ‘%s’ is running or paused.  It must be \
b85204
+                shut down in order to perform virt-v2v conversion")
b85204
         (Libvirt.Domain.get_name dom)
b85204
     | InfoNoState | InfoShutdown | InfoShutoff | InfoCrashed | InfoPMSuspended ->
b85204
       ()
b85204
@@ -84,7 +86,11 @@ let get_pool conn name =
b85204
     (try
b85204
       Libvirt.Pool.lookup_by_name conn name
b85204
     with Libvirt.Virterror { code = VIR_ERR_NO_STORAGE_POOL; message } ->
b85204
-      error (f_"cannot find libvirt pool ‘%s’: %s\n\nUse ‘virsh pool-list --all’ to list all available pools, and ‘virsh pool-dumpxml <pool>’ to display details about a particular pool.\n\nTo set the pool which virt-v2v uses, add the ‘-os <pool>’ option.")
b85204
+      error (f_"cannot find libvirt pool ‘%s’: %s\n\nUse \
b85204
+                ‘virsh pool-list --all’ to list all available pools, \
b85204
+                and ‘virsh pool-dumpxml <pool>’ to display details \
b85204
+                about a particular pool.\n\nTo set the pool which \
b85204
+                virt-v2v uses, add the ‘-os <pool>’ option.")
b85204
         name (Option.default "" message)
b85204
     )
b85204
 
b85204
diff --git a/lib/networks.ml b/lib/networks.ml
b85204
index 93250fe4..c079814d 100644
b85204
--- a/lib/networks.ml
b85204
+++ b/lib/networks.ml
b85204
@@ -81,25 +81,30 @@ let create () = {
b85204
 let add_mac t mac vnet_type vnet =
b85204
   let mac = String.lowercase_ascii mac in
b85204
   if StringMap.mem mac t.macs then
b85204
-    error (f_"duplicate --mac parameter.  Duplicate mappings specified for MAC address %s.") mac;
b85204
+    error (f_"duplicate --mac parameter.  Duplicate mappings specified \
b85204
+              for MAC address %s.") mac;
b85204
   t.macs <- StringMap.add mac (vnet_type, vnet) t.macs
b85204
 
b85204
 let add_network t i o =
b85204
   if StringMap.mem i t.network_map then
b85204
-    error (f_"duplicate -n/--network parameter.  Duplicate mappings specified for network %s.") i;
b85204
+    error (f_"duplicate -n/--network parameter.  Duplicate mappings \
b85204
+              specified for network %s.") i;
b85204
   t.network_map <- StringMap.add i o t.network_map
b85204
 
b85204
 let add_default_network t o =
b85204
   if t.default_network <> None then
b85204
-    error (f_"duplicate -n/--network parameter.  Only one default mapping is allowed.");
b85204
+    error (f_"duplicate -n/--network parameter.  Only one \
b85204
+              default mapping is allowed.");
b85204
   t.default_network <- Some o
b85204
 
b85204
 let add_bridge t i o =
b85204
   if StringMap.mem i t.bridge_map then
b85204
-    error (f_"duplicate -b/--bridge parameter.  Duplicate mappings specified for bridge %s.") i;
b85204
+    error (f_"duplicate -b/--bridge parameter.  Duplicate mappings \
b85204
+              specified for bridge %s.") i;
b85204
   t.bridge_map <- StringMap.add i o t.bridge_map
b85204
 
b85204
 let add_default_bridge t o =
b85204
   if t.default_bridge <> None then
b85204
-    error (f_"duplicate -b/--bridge parameter.  Only one default mapping is allowed.");
b85204
+    error (f_"duplicate -b/--bridge parameter.  Only one default mapping \
b85204
+              is allowed.");
b85204
   t.default_bridge <- Some o
b85204
diff --git a/lib/types.ml b/lib/types.ml
b85204
index 7ffb868b..f21c30bd 100644
b85204
--- a/lib/types.ml
b85204
+++ b/lib/types.ml
b85204
@@ -248,7 +248,8 @@ and string_of_source_display { s_display_type = typ;
b85204
     | LAddress a -> sprintf " listening on address %s" a
b85204
     | LNetwork n -> sprintf " listening on network %s" n
b85204
     | LSocket (Some s) -> sprintf " listening on Unix domain socket %s" s
b85204
-    | LSocket None -> sprintf " listening on automatically created Unix domain socket"
b85204
+    | LSocket None ->
b85204
+       sprintf " listening on automatically created Unix domain socket"
b85204
     | LNone -> " listening on private fd"
b85204
     )
b85204
 
b85204
diff --git a/lib/utils.ml b/lib/utils.ml
b85204
index 26e7e259..281868b5 100644
b85204
--- a/lib/utils.ml
b85204
+++ b/lib/utils.ml
b85204
@@ -80,7 +80,8 @@ let find_uefi_firmware guest_arch =
b85204
              guest_arch in
b85204
   let rec loop = function
b85204
     | [] ->
b85204
-       error (f_"cannot find firmware for UEFI guests.\n\nYou probably need to install OVMF (x86-64), or AAVMF (aarch64)")
b85204
+       error (f_"cannot find firmware for UEFI guests.\n\nYou probably \
b85204
+                 need to install OVMF (x86-64), or AAVMF (aarch64)")
b85204
     | ({ Uefi.code; vars = vars_template } as ret) :: rest ->
b85204
        if Sys.file_exists code && Sys.file_exists vars_template then ret
b85204
        else loop rest
b85204
@@ -197,7 +198,9 @@ and libvirt_qemu_user =
b85204
 let error_if_no_ssh_agent () =
b85204
   try ignore (Sys.getenv "SSH_AUTH_SOCK")
b85204
   with Not_found ->
b85204
-    error (f_"ssh-agent authentication has not been set up ($SSH_AUTH_SOCK is not set).  This is required by qemu to do passwordless ssh access.  See the virt-v2v(1) man page for more information.")
b85204
+    error (f_"ssh-agent authentication has not been set up ($SSH_AUTH_SOCK \
b85204
+              is not set).  This is required by qemu to do passwordless \
b85204
+              ssh access.  See the virt-v2v(1) man page for more information.")
b85204
 
b85204
 (* Create the directory containing inX and outX sockets. *)
b85204
 let create_v2v_directory () =
b85204
diff --git a/output/create_libvirt_xml.ml b/output/create_libvirt_xml.ml
b85204
index bd01304d..e1c1f616 100644
b85204
--- a/output/create_libvirt_xml.ml
b85204
+++ b/output/create_libvirt_xml.ml
b85204
@@ -392,7 +392,9 @@ let create_libvirt_xml ?pool source inspect
b85204
           * so target_ide_bus must be empty, otherwise we give a warning.
b85204
           *)
b85204
          if Array.length target_buses.target_ide_bus > 0 then
b85204
-           warning "machine type virt does not support IDE and SATA legacy devices, some legacy devices of this guest have been dropped from the libvirt output";
b85204
+           warning "machine type virt does not support IDE and SATA legacy \
b85204
+                    devices, some legacy devices of this guest have been \
b85204
+                    dropped from the libvirt output";
b85204
          [] in
b85204
     List.push_back_list devices ide_disks;
b85204
     List.push_back_list devices
b85204
diff --git a/output/output.ml b/output/output.ml
b85204
index 6065e592..e419c13d 100644
b85204
--- a/output/output.ml
b85204
+++ b/output/output.ml
b85204
@@ -76,7 +76,8 @@ let output_to_local_file ?(changeuid = fun f -> f ()) ?(compressed = false)
b85204
       output_alloc output_format filename size socket =
b85204
   (* Check nbdkit is installed and has the required plugin. *)
b85204
   if not (Nbdkit.is_installed ()) then
b85204
-    error (f_"nbdkit is not installed or not working.  It is required to use ‘-o disk’.");
b85204
+    error (f_"nbdkit is not installed or not working.  It is required \
b85204
+              to use ‘-o disk’.");
b85204
   if not (Nbdkit.probe_plugin "file") then
b85204
     error (f_"nbdkit-file-plugin is not installed or not working");
b85204
   let nbdkit_config = Nbdkit.config () in
b85204
diff --git a/output/output_glance.ml b/output/output_glance.ml
b85204
index e6a7f789..08c0c935 100644
b85204
--- a/output/output_glance.ml
b85204
+++ b/output/output_glance.ml
b85204
@@ -63,7 +63,10 @@ module Glance = struct
b85204
      * program exits early.
b85204
      *)
b85204
     if shell_command "glance image-list > /dev/null" <> 0 then
b85204
-      error (f_"glance: glance client is not installed or set up correctly.  You may need to set environment variables or source a script to enable authentication.  See preceding messages for details.");
b85204
+      error (f_"glance: glance client is not installed or set up correctly.  \
b85204
+                You may need to set environment variables or source a script \
b85204
+                to enable authentication.  \
b85204
+                See preceding messages for details.");
b85204
 
b85204
     (* When debugging, query the glance client for its version. *)
b85204
     if verbose () then (
b85204
diff --git a/output/output_kubevirt.ml b/output/output_kubevirt.ml
b85204
index 00e6a8a5..d41b5d8e 100644
b85204
--- a/output/output_kubevirt.ml
b85204
+++ b/output/output_kubevirt.ml
b85204
@@ -58,9 +58,11 @@ module Kubevirt = struct
b85204
     let output_storage =
b85204
       match options.output_storage with
b85204
       | None ->
b85204
-         error (f_"-o kubevirt: output directory was not specified, use '-os /dir'")
b85204
+         error (f_"-o kubevirt: output directory was not specified, \
b85204
+                   use '-os /dir'")
b85204
       | Some d when not (is_directory d) ->
b85204
-         error (f_"-os %s: output directory does not exist or is not a directory") d
b85204
+         error (f_"-os %s: output directory does not exist or \
b85204
+                   is not a directory") d
b85204
       | Some d -> d in
b85204
 
b85204
     let output_name = Option.default source.s_name options.output_name in
b85204
diff --git a/output/output_libvirt.ml b/output/output_libvirt.ml
b85204
index 04b4c5f8..19171a53 100644
b85204
--- a/output/output_libvirt.ml
b85204
+++ b/output/output_libvirt.ml
b85204
@@ -94,7 +94,13 @@ module Libvirt_ = struct
b85204
 
b85204
     (* Does the domain already exist on the target?  (RHBZ#889082) *)
b85204
     if Libvirt_utils.domain_exists conn output_name then
b85204
-      error (f_"a libvirt domain called ‘%s’ already exists on the target.\n\nIf using virt-v2v directly, use the ‘-on’ option to select a different name. Or delete the existing domain on the target using the ‘virsh undefine’ command.\n\nIf using virt-p2v, select a different ‘Name’ in the ‘Target properties’. Or delete the existing domain on the target using the ‘virsh undefine’ command.")
b85204
+      error (f_"a libvirt domain called ‘%s’ already exists on the \
b85204
+                target.\n\nIf using virt-v2v directly, use the ‘-on’ \
b85204
+                option to select a different name. Or delete the \
b85204
+                existing domain on the target using the ‘virsh undefine’ \
b85204
+                command.\n\nIf using virt-p2v, select a different ‘Name’ \
b85204
+                in the ‘Target properties’. Or delete the existing domain \
b85204
+                on the target using the ‘virsh undefine’ command.")
b85204
         output_name;
b85204
 
b85204
     (* Connect to output libvirt instance and check that the pool exists
b85204
@@ -112,9 +118,13 @@ module Libvirt_ = struct
b85204
     let target_path =
b85204
       match xpath_string "/pool/target/path/text()" with
b85204
       | None ->
b85204
-         error (f_"-o libvirt: output pool ‘%s’ does not have /pool/target/path element.  See virt-v2v-output-local(1)") output_pool
b85204
+         error (f_"-o libvirt: output pool ‘%s’ does not have \
b85204
+                   /pool/target/path element.  See \
b85204
+                   virt-v2v-output-local(1)") output_pool
b85204
       | Some dir when not (is_directory dir) ->
b85204
-         error (f_"-o libvirt: output pool ‘%s’ has type='dir' but the /pool/target/path element is not a local directory.  See virt-v2v-output-local(1)") output_pool
b85204
+         error (f_"-o libvirt: output pool ‘%s’ has type='dir' but the \
b85204
+                   /pool/target/path element is not a local directory.  \
b85204
+                   See virt-v2v-output-local(1)") output_pool
b85204
       | Some dir -> dir in
b85204
 
b85204
     (* Get the name of the pool, since we have to use that
b85204
@@ -194,7 +204,9 @@ module Libvirt_ = struct
b85204
        (try Unix.unlink tmpfile with _ -> ())
b85204
      with
b85204
        Libvirt.Virterror { message } ->
b85204
-       warning (f_"could not define libvirt domain: %s.\nThe libvirt XML is still available in ‘%s’.  Try running ‘virsh -c %s define %s’ yourself instead.")
b85204
+       warning (f_"could not define libvirt domain: %s.\nThe libvirt XML \
b85204
+                   is still available in ‘%s’.  Try running \
b85204
+                   ‘virsh -c %s define %s’ yourself instead.")
b85204
          (Option.default "" message) tmpfile
b85204
          (Libvirt.Connect.get_uri conn) tmpfile
b85204
     )
b85204
diff --git a/output/output_null.ml b/output/output_null.ml
b85204
index c8e27c0b..e42b07ee 100644
b85204
--- a/output/output_null.ml
b85204
+++ b/output/output_null.ml
b85204
@@ -56,7 +56,8 @@ module Null = struct
b85204
 
b85204
     (* Check nbdkit is installed and has the required plugin. *)
b85204
     if not (Nbdkit.is_installed ()) then
b85204
-      error (f_"nbdkit is not installed or not working.  It is required to use ‘-o null’.");
b85204
+      error (f_"nbdkit is not installed or not working.  \
b85204
+                It is required to use ‘-o null’.");
b85204
     if not (Nbdkit.probe_plugin "null") then
b85204
       error (f_"nbdkit-null-plugin is not installed or not working");
b85204
 
b85204
diff --git a/output/output_openstack.ml b/output/output_openstack.ml
b85204
index aa01d5a6..09776e73 100644
b85204
--- a/output/output_openstack.ml
b85204
+++ b/output/output_openstack.ml
b85204
@@ -141,7 +141,8 @@ The os-* parameters and environment variables are optional.
b85204
     let error_unless_openstack_command_exists () =
b85204
       try ignore (which openstack_binary)
b85204
       with Executable_not_found _ ->
b85204
-        error (f_"the ‘%s’ program is not available.  It is needed to communicate with OpenStack.")
b85204
+        error (f_"the ‘%s’ program is not available.  \
b85204
+                  It is needed to communicate with OpenStack.")
b85204
           openstack_binary
b85204
     in
b85204
     error_unless_openstack_command_exists ();
b85204
@@ -195,7 +196,8 @@ The os-* parameters and environment variables are optional.
b85204
      *)
b85204
     let args = [ "token"; "issue" ] in
b85204
     if run_openstack_command args <> 0 then
b85204
-      error (f_"openstack: precheck failed, there may be a problem with authentication, see earlier error messages");
b85204
+      error (f_"openstack: precheck failed, there may be a problem with \
b85204
+                authentication, see earlier error messages");
b85204
 
b85204
     let output_name = Option.default source.s_name options.output_name in
b85204
 
b85204
@@ -286,7 +288,8 @@ The os-* parameters and environment variables are optional.
b85204
       let json =
b85204
         match run_openstack_command_capture_json !args with
b85204
         | None ->
b85204
-           error (f_"openstack: failed to create a cinder volume, see earlier error messages")
b85204
+           error (f_"openstack: failed to create a cinder volume, \
b85204
+                     see earlier error messages")
b85204
         | Some json -> json in
b85204
       let id = JSON_parser.object_get_string "id" json in
b85204
 
b85204
@@ -298,13 +301,15 @@ The os-* parameters and environment variables are optional.
b85204
         (fun () ->
b85204
           match run_openstack_command_capture_json args with
b85204
           | None ->
b85204
-             error (f_"openstack: failed to query cinder volume status, see earlier error messages")
b85204
+             error (f_"openstack: failed to query cinder volume status, \
b85204
+                       see earlier error messages")
b85204
           | Some json ->
b85204
              match JSON_parser.object_get_string "status" json with
b85204
              | "creating" -> None
b85204
              | "available" -> Some () (* done *)
b85204
              | status ->
b85204
-                error (f_"openstack: unknown volume status \"%s\": expected \"creating\" or \"available\"") status
b85204
+                error (f_"openstack: unknown volume status \"%s\": \
b85204
+                          expected \"creating\" or \"available\"") status
b85204
       );
b85204
 
b85204
       id
b85204
@@ -330,7 +335,8 @@ The os-* parameters and environment variables are optional.
b85204
     let attach_volume id =
b85204
       let args = [ "server"; "add"; "volume"; server_id; id ] in
b85204
       if run_openstack_command args <> 0 then
b85204
-        error (f_"openstack: failed to attach cinder volume to VM, see earlier error messages");
b85204
+        error (f_"openstack: failed to attach cinder volume to VM, \
b85204
+                  see earlier error messages");
b85204
 
b85204
       (* We expect the disk to appear under /dev/disk/by-id.
b85204
        *
b85204
@@ -351,7 +357,8 @@ The os-* parameters and environment variables are optional.
b85204
         else id in
b85204
 
b85204
       with_timeout ~sleep:5
b85204
-        (sprintf (f_"waiting for cinder volume %s to attach to the conversion appliance") id)
b85204
+        (sprintf (f_"waiting for cinder volume %s to attach to the \
b85204
+                     conversion appliance") id)
b85204
         attach_timeout
b85204
         (fun () ->
b85204
           let entries =
b85204
@@ -428,7 +435,8 @@ The os-* parameters and environment variables are optional.
b85204
       List.push_back args id;
b85204
 
b85204
       if run_openstack_command !args <> 0 then
b85204
-        error (f_"openstack: failed to set image properties on cinder volume, see earlier error messages")
b85204
+        error (f_"openstack: failed to set image properties on cinder volume, \
b85204
+                  see earlier error messages")
b85204
     in
b85204
 
b85204
     (* Image properties are only set on the first disk.
b85204
diff --git a/output/output_qemu.ml b/output/output_qemu.ml
b85204
index 5788fc42..b667e782 100644
b85204
--- a/output/output_qemu.ml
b85204
+++ b/output/output_qemu.ml
b85204
@@ -71,7 +71,8 @@ module QEMU = struct
b85204
       | None ->
b85204
          error (f_"-o qemu: output directory was not specified, use '-os /dir'")
b85204
       | Some d when not (is_directory d) ->
b85204
-         error (f_"-os %s: output directory does not exist or is not a directory") d
b85204
+         error (f_"-os %s: output directory does not exist or is \
b85204
+                   not a directory") d
b85204
       | Some d -> d in
b85204
 
b85204
     let output_name = Option.default source.s_name options.output_name in
b85204
diff --git a/output/output_rhv.ml b/output/output_rhv.ml
b85204
index 45f831e3..08ef651b 100644
b85204
--- a/output/output_rhv.ml
b85204
+++ b/output/output_rhv.ml
b85204
@@ -88,9 +88,17 @@ module RHV = struct
b85204
       debug "RHV: actual UID:GID of new files is %d:%d" actual_uid actual_gid;
b85204
       if uid <> actual_uid || gid <> actual_gid then (
b85204
         if running_as_root then
b85204
-          warning (f_"cannot write files to the NFS server as %d:%d, even though we appear to be running as root. This probably means the NFS client or idmapd is not configured properly.\n\nYou will have to chown the files that virt-v2v creates after the run, otherwise RHV-M will not be able to import the VM.") uid gid
b85204
+          warning (f_"cannot write files to the NFS server as %d:%d, \
b85204
+                      even though we appear to be running as root. This \
b85204
+                      probably means the NFS client or idmapd is not \
b85204
+                      configured properly.\n\nYou will have to chown \
b85204
+                      the files that virt-v2v creates after the run, \
b85204
+                      otherwise RHV-M will not be able to import the VM.")
b85204
+            uid gid
b85204
         else
b85204
-          warning (f_"cannot write files to the NFS server as %d:%d. You might want to stop virt-v2v (^C) and rerun it as root.") uid gid
b85204
+          warning (f_"cannot write files to the NFS server as %d:%d. \
b85204
+                      You might want to stop virt-v2v (^C) and rerun it \
b85204
+                      as root.") uid gid
b85204
       ) in
b85204
 
b85204
     (* Create unique UUIDs for everything *)
b85204
@@ -209,7 +217,9 @@ module RHV = struct
b85204
        (* Try mounting it. *)
b85204
        let cmd = [ "mount"; sprintf "%s:%s" server export; mp ] in
b85204
        if run_command cmd <> 0 then
b85204
-         error (f_"mount command failed, see earlier errors.\n\nThis probably means you didn't specify the right %s path [-os %s], or else you need to rerun virt-v2v as root.") domain_class os;
b85204
+         error (f_"mount command failed, see earlier errors.\n\nThis probably \
b85204
+                   means you didn't specify the right %s path [-os %s], or \
b85204
+                   else you need to rerun virt-v2v as root.") domain_class os;
b85204
 
b85204
        (* Make sure it is unmounted at exit, as late as possible (prio=9999) *)
b85204
        On_exit.f ~prio:9999 (
b85204
@@ -232,7 +242,10 @@ module RHV = struct
b85204
     let entries =
b85204
       try Sys.readdir mp
b85204
       with Sys_error msg ->
b85204
-        error (f_"could not read the %s specified by the '-os %s' parameter on the command line.  Is it really an OVirt or RHV-M %s?  The original error is: %s") domain_class os domain_class msg in
b85204
+        error (f_"could not read the %s specified by the '-os %s' \
b85204
+                  parameter on the command line.  Is it really an \
b85204
+                  OVirt or RHV-M %s?  The original error is: %s")
b85204
+          domain_class os domain_class msg in
b85204
     let entries = Array.to_list entries in
b85204
     let uuids = List.filter (
b85204
         fun entry ->
b85204
@@ -244,9 +257,12 @@ module RHV = struct
b85204
       match uuids with
b85204
       | [uuid] -> uuid
b85204
       | [] ->
b85204
-         error (f_"there are no UUIDs in the %s (%s).  Is it really an OVirt or RHV-M %s?") domain_class os domain_class
b85204
+         error (f_"there are no UUIDs in the %s (%s).  Is it really an \
b85204
+                   OVirt or RHV-M %s?") domain_class os domain_class
b85204
       | _::_ ->
b85204
-         error (f_"there are multiple UUIDs in the %s (%s).  This is unexpected, and may be a bug in virt-v2v or OVirt.") domain_class os in
b85204
+         error (f_"there are multiple UUIDs in the %s (%s).  This is \
b85204
+                   unexpected, and may be a bug in virt-v2v or OVirt.")
b85204
+           domain_class os in
b85204
 
b85204
     (* Check that the domain has been attached to a Data Center by
b85204
      * checking that the master/vms directory exists.
b85204
@@ -254,7 +270,13 @@ module RHV = struct
b85204
     let () =
b85204
       let master_vms_dir = mp // uuid // "master" // "vms" in
b85204
       if not (is_directory master_vms_dir) then
b85204
-        error (f_"%s does not exist or is not a directory.\n\nMost likely cause: Either the %s (%s) has not been attached to any Data Center, or the path %s is not an %s at all.\n\nYou have to attach the %s to a Data Center using the RHV-M / OVirt user interface first.\n\nIf you don’t know what the %s mount point should be then you can also find this out through the RHV-M user interface.")
b85204
+        error (f_"%s does not exist or is not a directory.\n\nMost likely \
b85204
+                  cause: Either the %s (%s) has not been attached to any \
b85204
+                  Data Center, or the path %s is not an %s at all.\n\n\
b85204
+                  You have to attach the %s to a Data Center using the \
b85204
+                  RHV-M / OVirt user interface first.\n\nIf you don’t \
b85204
+                  know what the %s mount point should be then you can \
b85204
+                  also find this out through the RHV-M user interface.")
b85204
           master_vms_dir domain_class os os
b85204
           domain_class domain_class domain_class in
b85204
 
b85204
diff --git a/output/output_rhv_upload.ml b/output/output_rhv_upload.ml
b85204
index f2ced4f4..c84ce7a6 100644
b85204
--- a/output/output_rhv_upload.ml
b85204
+++ b/output/output_rhv_upload.ml
b85204
@@ -65,13 +65,17 @@ after their uploads (if you do, you must supply one for each disk):
b85204
     let output_conn =
b85204
       match options.output_conn with
b85204
       | None ->
b85204
-         error (f_"-o rhv-upload: use ‘-oc’ to point to the oVirt or RHV server REST API URL, which is usually https://servername/ovirt-engine/api")
b85204
+         error (f_"-o rhv-upload: use ‘-oc’ to point to the oVirt \
b85204
+                   or RHV server REST API URL, which is usually \
b85204
+                   https://servername/ovirt-engine/api")
b85204
       | Some oc -> oc in
b85204
     (* In theory we could make the password optional in future. *)
b85204
     let output_password =
b85204
       match options.output_password with
b85204
       | None ->
b85204
-         error (f_"-o rhv-upload: output password file was not specified, use ‘-op’ to point to a file which contains the password used to connect to the oVirt or RHV server")
b85204
+         error (f_"-o rhv-upload: output password file was not specified, \
b85204
+                   use ‘-op’ to point to a file which contains the password \
b85204
+                   used to connect to the oVirt or RHV server")
b85204
       | Some op -> op in
b85204
     let output_storage =
b85204
       match options.output_storage with
b85204
@@ -126,7 +130,8 @@ after their uploads (if you do, you must supply one for each disk):
b85204
     let nil_uuid = "00000000-0000-0000-0000-000000000000" in
b85204
     let rex_uuid = lazy (
b85204
       let hex = "[a-fA-F0-9]" in
b85204
-      let str = sprintf "^%s{8}-%s{4}-%s{4}-%s{4}-%s{12}$" hex hex hex hex hex in
b85204
+      let str = sprintf "^%s{8}-%s{4}-%s{4}-%s{4}-%s{12}$"
b85204
+                  hex hex hex hex hex in
b85204
       PCRE.compile str
b85204
     ) in
b85204
     if uuid = nil_uuid then false
b85204
@@ -151,13 +156,16 @@ after their uploads (if you do, you must supply one for each disk):
b85204
       let res = run_command [ Python_script.python; "-c";
b85204
                               "import ovirtsdk4" ] in
b85204
       if res <> 0 then
b85204
-        error (f_"the Python module ‘ovirtsdk4’ could not be loaded, is it installed?  See previous messages for problems.")
b85204
+        error (f_"the Python module ‘ovirtsdk4’ could not be loaded, \
b85204
+                  is it installed?  See previous messages for problems.")
b85204
     in
b85204
 
b85204
     (* Check that nbdkit is available and new enough. *)
b85204
     let error_unless_nbdkit_working () =
b85204
       if not (Nbdkit.is_installed ()) then
b85204
-        error (f_"nbdkit is not installed or not working.  It is required to use ‘-o rhv-upload’.  See the virt-v2v-output-rhv(1) manual.")
b85204
+        error (f_"nbdkit is not installed or not working.  It is required \
b85204
+                  to use ‘-o rhv-upload’.  See the virt-v2v-output-rhv(1) \
b85204
+                  manual.")
b85204
     in
b85204
 
b85204
     let error_unless_nbdkit_min_version config =
b85204
@@ -175,7 +183,8 @@ after their uploads (if you do, you must supply one for each disk):
b85204
                   (quote (Python_script.path plugin_script)) in
b85204
       debug "%s" cmd;
b85204
       if Sys.command cmd <> 0 then
b85204
-        error (f_"nbdkit python plugin is not installed or not working.  It is required if you want to use ‘-o rhv-upload’.
b85204
+        error (f_"nbdkit python plugin is not installed or not working.  \
b85204
+                  It is required if you want to use ‘-o rhv-upload’.
b85204
 
b85204
 See also the virt-v2v-output-rhv(1) manual.");
b85204
     in
b85204
@@ -187,7 +196,10 @@ See also the virt-v2v-output-rhv(1) manual.");
b85204
       if have_selinux then (
b85204
         let selinux = try List.assoc "selinux" config with Not_found -> "no" in
b85204
         if selinux = "no" then
b85204
-          error (f_"nbdkit was compiled without SELinux support.  You will have to recompile nbdkit with libselinux-devel installed, or else set SELinux to Permissive mode while doing the conversion.")
b85204
+          error (f_"nbdkit was compiled without SELinux support.  You will \
b85204
+                    have to recompile nbdkit with libselinux-devel installed, \
b85204
+                    or else set SELinux to Permissive mode while doing the \
b85204
+                    conversion.")
b85204
       )
b85204
     in
b85204
 
b85204
@@ -280,8 +292,9 @@ See also the virt-v2v-output-rhv(1) manual.");
b85204
       | Some uuids ->
b85204
          let nr_disks = List.length disks in
b85204
          if List.length uuids <> nr_disks then
b85204
-           error (f_"the number of ‘-oo rhv-disk-uuid’ parameters passed on th
b85204
-e command line has to match the number of guest disk images (for this guest: %d)") nr_disks;
b85204
+           error (f_"the number of ‘-oo rhv-disk-uuid’ parameters passed on \
b85204
+                     the command line has to match the number of guest \
b85204
+                     disk images (for this guest: %d)") nr_disks;
b85204
          uuids
b85204
       | None -> List.map (fun _ -> uuidgen ()) disks in
b85204
 
b85204
@@ -357,7 +370,10 @@ e command line has to match the number of guest disk images (for this guest: %d)
b85204
           | "raw" as fmt -> fmt
b85204
           | "qcow2" as fmt -> fmt
b85204
           | _ ->
b85204
-             error (f_"rhv-upload: -of %s: Only output format ‘raw’ or ‘qcow2’ is supported.  If the input is in a different format then force one of these output formats by adding either ‘-of raw’ or ‘-of qcow2’ on the command line.")
b85204
+             error (f_"rhv-upload: -of %s: Only output format ‘raw’ or ‘qcow2’ \
b85204
+                       is supported.  If the input is in a different format \
b85204
+                       then force one of these output formats by adding \
b85204
+                       either ‘-of raw’ or ‘-of qcow2’ on the command line.")
b85204
                output_format in
b85204
         let json_params =
b85204
           ("disk_format", JSON.String disk_format) :: json_params in
b85204
@@ -433,7 +449,8 @@ e command line has to match the number of guest disk images (for this guest: %d)
b85204
      | None -> assert false
b85204
      | Some arch ->
b85204
         if arch <> target_meta.guestcaps.gcaps_arch then
b85204
-          error (f_"the cluster ‘%s’ does not support the architecture %s but %s")
b85204
+          error (f_"the cluster ‘%s’ does not support the architecture %s \
b85204
+                    but %s")
b85204
             rhv_cluster_name target_meta.guestcaps.gcaps_arch arch
b85204
     );
b85204
 
b85204
diff --git a/output/output_vdsm.ml b/output/output_vdsm.ml
b85204
index 23d1b9cd..132b0cf0 100644
b85204
--- a/output/output_vdsm.ml
b85204
+++ b/output/output_vdsm.ml
b85204
@@ -94,7 +94,8 @@ For each disk you must supply one of each of these options:
b85204
     let image_uuids = List.rev !image_uuids in
b85204
     let vol_uuids = List.rev !vol_uuids in
b85204
     if image_uuids = [] || vol_uuids = [] then
b85204
-      error (f_"-o vdsm: either -oo vdsm-vol-uuid or -oo vdsm-vm-uuid was not specified");
b85204
+      error (f_"-o vdsm: either -oo vdsm-vol-uuid or \
b85204
+                -oo vdsm-vm-uuid was not specified");
b85204
     let vm_uuid =
b85204
       match !vm_uuid with
b85204
       | None ->
b85204
@@ -108,7 +109,8 @@ For each disk you must supply one of each of these options:
b85204
       match options.output_storage with
b85204
       | None -> error (f_"-o vdsm: -os option was not specified")
b85204
       | Some d when not (is_directory d) ->
b85204
-         error (f_"-os %s: output directory does not exist or is not a directory") d
b85204
+         error (f_"-os %s: output directory does not exist \
b85204
+                   or is not a directory") d
b85204
       | Some d -> d in
b85204
 
b85204
     let output_name = Option.default source.s_name options.output_name in
b85204
@@ -128,7 +130,9 @@ For each disk you must supply one of each of these options:
b85204
 
b85204
     if List.length image_uuids <> List.length disks ||
b85204
        List.length vol_uuids <> List.length disks then
b85204
-      error (f_"the number of ‘-oo vdsm-image-uuid’ and ‘-oo vdsm-vol-uuid’ parameters passed on the command line has to match the number of guest disk images (for this guest: %d)")
b85204
+      error (f_"the number of ‘-oo vdsm-image-uuid’ and ‘-oo vdsm-vol-uuid’ \
b85204
+                parameters passed on the command line has to match the \
b85204
+                number of guest disk images (for this guest: %d)")
b85204
         (List.length disks);
b85204
 
b85204
     let dd_mp, dd_uuid =
b85204
@@ -141,7 +145,8 @@ For each disk you must supply one of each of these options:
b85204
          let mp = String.concat "/" (List.rev rest) in
b85204
          mp, uuid
b85204
       | _ ->
b85204
-         error (f_"vdsm: invalid -os parameter does not contain a valid UUID: %s")
b85204
+         error (f_"vdsm: invalid -os parameter \
b85204
+                   does not contain a valid UUID: %s")
b85204
            output_storage in
b85204
 
b85204
     debug "VDSM: DD mountpoint: %s\nVDSM: DD UUID: %s" dd_mp dd_uuid;
b85204
@@ -158,7 +163,8 @@ For each disk you must supply one of each of these options:
b85204
 
b85204
     (* Note that VDSM has to create this directory too. *)
b85204
     if not (is_directory ovf_output) then
b85204
-      error (f_"OVF (metadata) directory (%s) does not exist or is not a directory")
b85204
+      error (f_"OVF (metadata) directory (%s) does not exist or \
b85204
+                is not a directory")
b85204
         ovf_output;
b85204
 
b85204
     debug "VDSM: OVF (metadata) directory: %s" ovf_output;
b85204
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
b85204
index fcf5e2d4..1e8d03ef 100644
b85204
--- a/v2v/v2v.ml
b85204
+++ b/v2v/v2v.ml
b85204
@@ -123,7 +123,8 @@ let rec main () =
b85204
      *)
b85204
     let rec error_unless_ip_addr what addr =
b85204
       if not (PCRE.matches mac_ip_re addr) then
b85204
-        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” is an IP address") what addr
b85204
+        error (f_"cannot parse --mac ip %s: doesn’t look like “%s” \
b85204
+                  is an IP address") what addr
b85204
     in
b85204
     error_unless_ip_addr "ipaddr" if_ip_address;
b85204
     Option.may (error_unless_ip_addr "gw") if_default_gateway;
b85204
@@ -134,7 +135,8 @@ let rec main () =
b85204
       | Some len ->
b85204
          let len =
b85204
            try int_of_string len with
b85204
-           | Failure _ -> error (f_"cannot parse --mac ip prefix length field as an integer: %s") len in
b85204
+           | Failure _ -> error (f_"cannot parse --mac ip prefix length field \
b85204
+                                    as an integer: %s") len in
b85204
          if len < 0 || len > 128 then
b85204
            error (f_"--mac ip prefix length field is out of range");
b85204
          Some len in
b85204
@@ -329,7 +331,8 @@ A short summary of the options is given below.  For detailed help please
b85204
 read the man page virt-v2v(1).
b85204
 ")
b85204
       prog in
b85204
-  let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true ~machine_readable:true usage_msg in
b85204
+  let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true
b85204
+                    ~machine_readable:true usage_msg in
b85204
   Getopt.parse opthandle.getopt;
b85204
 
b85204
   (* Print the version, easier than asking users to tell us. *)
b85204
@@ -420,7 +423,8 @@ read the man page virt-v2v(1).
b85204
           let { Xml.uri_server = server; uri_scheme = scheme } =
b85204
             try Xml.parse_uri orig_uri
b85204
             with Invalid_argument msg ->
b85204
-              error (f_"could not parse '-ic %s'.  Original error message was: %s")
b85204
+              error (f_"could not parse '-ic %s'.  \
b85204
+                        Original error message was: %s")
b85204
                 orig_uri msg in
b85204
 
b85204
           match server, scheme, input_transport with
b85204
@@ -450,7 +454,9 @@ read the man page virt-v2v(1).
b85204
 
b85204
           (* Unknown remote scheme. *)
b85204
           | Some _, Some _, _ ->
b85204
-             warning (f_"no support for remote libvirt connections to '-ic %s'.  The conversion may fail when it tries to read the source disks.") orig_uri;
b85204
+             warning (f_"no support for remote libvirt connections to \
b85204
+                         '-ic %s'.  The conversion may fail when it tries \
b85204
+                         to read the source disks.") orig_uri;
b85204
              (module Input_libvirt.Libvirt_) in
b85204
 
b85204
   let input_options = {
b85204
@@ -627,8 +633,14 @@ and check_host_free_space () =
b85204
   debug "check_host_free_space: large_tmpdir=%s free_space=%Ld"
b85204
         large_tmpdir free_space;
b85204
   if free_space < 1_073_741_824L then
b85204
-    error (f_"insufficient free space in the conversion server temporary directory %s (%s).\n\nEither free up space in that directory, or set the LIBGUESTFS_CACHEDIR environment variable to point to another directory with more than 1GB of free space.\n\nSee also the virt-v2v(1) manual, section \"Minimum free space check in the host\".")
b85204
-          large_tmpdir (human_size free_space)
b85204
+    error (f_"insufficient free space in the conversion server \
b85204
+              temporary directory %s (%s).\n\nEither free up space \
b85204
+              in that directory, or set the LIBGUESTFS_CACHEDIR \
b85204
+              environment variable to point to another directory \
b85204
+              with more than 1GB of free space.\n\nSee also the \
b85204
+              virt-v2v(1) manual, section \
b85204
+              \"Minimum free space check in the host\".")
b85204
+      large_tmpdir (human_size free_space)
b85204
 
b85204
 and nbdcopy ?request_size output_alloc input_uri output_uri =
b85204
   (* XXX It's possible that some output modes know whether