2024-10-09 11:19:48 +00:00
|
|
|
From 0fd391a93010e85d60b34e21404234fc490f10af Mon Sep 17 00:00:00 2001
|
2024-07-09 10:43:28 +00:00
|
|
|
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
|
2024-09-05 08:15:43 +00:00
|
|
|
index 2dc406e2..9d24de78 100644
|
2024-07-09 10:43:28 +00:00
|
|
|
--- a/in-place/in_place.ml
|
|
|
|
+++ b/in-place/in_place.ml
|
2024-09-05 08:15:43 +00:00
|
|
|
@@ -206,6 +206,9 @@ read the man page virt-v2v-in-place(1).
|
2024-07-11 11:33:16 +00:00
|
|
|
let opthandle = create_standard_options argspec ~anon_fun ~key_opts:true ~machine_readable:true usage_msg in
|
|
|
|
Getopt.parse opthandle.getopt;
|
2024-07-09 10:43:28 +00:00
|
|
|
|
|
|
|
+ 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.";
|
|
|
|
+
|
2024-07-11 11:33:16 +00:00
|
|
|
(* Print the version, easier than asking users to tell us. *)
|
2024-08-01 10:13:04 +00:00
|
|
|
debug "info: %s: %s %s (%s)"
|
2024-07-11 11:33:16 +00:00
|
|
|
prog Config.package_name Config.package_version_full
|