virt-v2v/0013-RHEL-Add-warning-about-virt-v2v-in-place-not-being-s.patch
Richard W.M. Jones 726d2347c6 Rebase to virt-v2v 2.5.5
Enhance -o kubevirt output
resolves: RHEL-45992
2024-07-11 12:46:18 +01:00

25 lines
1010 B
Diff

From 3a99ae6c6a6d46b8426d3851a46ac67ec90a125c Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 9 Jul 2024 11:30:09 +0100
Subject: [PATCH] RHEL: Add warning about virt-v2v-in-place not being supported
Fixes: https://issues.redhat.com/browse/RHEL-40903
---
in-place/in_place.ml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/in-place/in_place.ml b/in-place/in_place.ml
index 2049db16..b74dbc8a 100644
--- a/in-place/in_place.ml
+++ b/in-place/in_place.ml
@@ -195,6 +195,9 @@ read the man page virt-v2v-in-place(1).
let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true ~machine_readable:true usage_msg in
Getopt.parse opthandle.getopt;
+ warning "virt-v2v-in-place is NOT SUPPORTED for command line use. \
+ It is almost always better to use virt-v2v instead of this tool.";
+
(* Print the version, easier than asking users to tell us. *)
debug "%s: %s %s (%s)"
prog Config.package_name Config.package_version_full