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

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