Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1788823 This patch set depends on [libguestfs-common PATCH] mlcustomize/firstboot: take an optional priority in "add_firstboot_script" The first 10 patches are meant as refactorings / cleanups, for the sake of easier maintenance / better readability, with no intent to change behavior. From those 10 patches, I ended up regression-testing "configure_qemu_ga" and "configure_wait_pnp" with a real Windows 2019 Server domain; the rest of that section of the series is effectively untested. The last two patches implement the actual goal of this series; I have tested those too, with the same Windows 2019 Server domain. Thanks Laszlo Laszlo Ersek (12): convert_linux: wrap overlong lines convert_windows: wrap overlong lines convert_linux: align shell script indentation with OCaml source code convert_windows: rewrite "configure_qemu_ga" script purely in PowerShell convert_windows: align "reg_restore" batch file commands with OCaml source convert_windows: align "configure_wait_pnp" batch file with OCaml source convert_windows: align "configure_vmdp" batch files with OCaml source convert_windows: align "unconfigure_xenpv" batch file with OCaml source convert_windows: align "unconfigure_prltools" batch file with OCaml source convert_windows: align "unconfigure_vmwaretools" batch file with OCaml src convert/windows: expose "prio" parameter in install_firstboot_powershell convert_windows: install "v2vnetcf.ps1" with prio 2500 convert/convert_linux.ml | 75 +++++--- convert/convert_windows.ml | 193 ++++++++++++-------- convert/windows.ml | 5 +- convert/windows.mli | 6 +- 4 files changed, 170 insertions(+), 109 deletions(-) -- 2.19.1.3.g30247aa5d201