2024-10-30 12:34:02 +00:00
|
|
|
|
From efc69fffda1c881099a30077e70335cf381765eb Mon Sep 17 00:00:00 2001
|
2021-12-02 10:46:00 +00:00
|
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
|
Date: Thu, 2 Dec 2021 11:56:05 +0000
|
|
|
|
|
Subject: [PATCH] RHEL: Remove the --in-place option
|
|
|
|
|
|
|
|
|
|
This disables the virt-v2v --in-place option which we do not
|
|
|
|
|
wish to support in RHEL.
|
|
|
|
|
---
|
2022-03-14 21:21:57 +00:00
|
|
|
|
docs/virt-v2v.pod | 8 --------
|
2022-04-26 10:04:45 +00:00
|
|
|
|
tests/Makefile.am | 1 -
|
2022-03-14 21:21:57 +00:00
|
|
|
|
v2v/v2v.ml | 8 --------
|
2022-04-26 10:04:45 +00:00
|
|
|
|
3 files changed, 17 deletions(-)
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
|
|
|
|
diff --git a/docs/virt-v2v.pod b/docs/virt-v2v.pod
|
2024-10-09 11:19:48 +00:00
|
|
|
|
index b89a08a3..8f096d0c 100644
|
2021-12-02 10:46:00 +00:00
|
|
|
|
--- a/docs/virt-v2v.pod
|
|
|
|
|
+++ b/docs/virt-v2v.pod
|
2024-09-05 08:15:43 +00:00
|
|
|
|
@@ -25,9 +25,6 @@ virtualize those machines (physical to virtual, or p2v).
|
2023-01-10 15:23:53 +00:00
|
|
|
|
To estimate the disk space needed before conversion, see
|
|
|
|
|
L<virt-v2v-inspector(1)>.
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
2022-03-14 21:21:57 +00:00
|
|
|
|
-For in-place conversion, there is a separate tool called
|
|
|
|
|
-L<virt-v2v-in-place(1)>.
|
2021-12-02 10:46:00 +00:00
|
|
|
|
-
|
2022-03-14 21:21:57 +00:00
|
|
|
|
=head2 Input and Output
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
2022-03-14 21:21:57 +00:00
|
|
|
|
You normally run virt-v2v with several I<-i*> options controlling the
|
2024-09-05 08:15:43 +00:00
|
|
|
|
@@ -40,10 +37,6 @@ The input and output sides of virt-v2v are separate and unrelated.
|
2021-12-02 10:46:00 +00:00
|
|
|
|
Virt-v2v can read from any input and write to any output. Therefore
|
|
|
|
|
these sides of virt-v2v are documented separately in this manual.
|
|
|
|
|
|
|
|
|
|
-Virt-v2v normally copies from the input to the output, called "copying
|
|
|
|
|
-mode". In this case the source guest is always left unchanged.
|
2022-03-14 21:21:57 +00:00
|
|
|
|
-In-place conversions may be done using L<virt-v2v-in-place(1)>.
|
2021-12-02 10:46:00 +00:00
|
|
|
|
-
|
2024-09-05 08:15:43 +00:00
|
|
|
|
=head2 Customization
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
2024-09-05 08:15:43 +00:00
|
|
|
|
Virt-v2v can also customize the guest during conversion, using the
|
2024-10-09 11:19:48 +00:00
|
|
|
|
@@ -1681,7 +1674,6 @@ L<https://rwmj.wordpress.com/2015/09/18/importing-kvm-guests-to-ovirt-or-rhev/#c
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
2022-03-14 21:21:57 +00:00
|
|
|
|
L<virt-p2v(1)>,
|
2023-01-10 15:23:53 +00:00
|
|
|
|
L<virt-v2v-inspector(1)>,
|
2022-03-14 21:21:57 +00:00
|
|
|
|
-L<virt-v2v-in-place(1)>,
|
|
|
|
|
L<virt-customize(1)>,
|
|
|
|
|
L<virt-df(1)>,
|
|
|
|
|
L<virt-filesystems(1)>,
|
2022-04-26 10:04:45 +00:00
|
|
|
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
2024-09-05 08:15:43 +00:00
|
|
|
|
index 1c3d6064..cee516c4 100644
|
2022-04-26 10:04:45 +00:00
|
|
|
|
--- a/tests/Makefile.am
|
|
|
|
|
+++ b/tests/Makefile.am
|
|
|
|
|
@@ -77,7 +77,6 @@ TESTS = \
|
|
|
|
|
test-v2v-floppy.sh \
|
|
|
|
|
test-v2v-i-disk.sh \
|
|
|
|
|
test-v2v-i-ova.sh \
|
|
|
|
|
- test-v2v-in-place.sh \
|
2023-04-20 09:12:22 +00:00
|
|
|
|
test-v2v-block-driver.sh \
|
2023-01-10 15:23:53 +00:00
|
|
|
|
test-v2v-inspector.sh \
|
2022-04-26 10:04:45 +00:00
|
|
|
|
test-v2v-mac.sh \
|
2021-12-02 10:46:00 +00:00
|
|
|
|
diff --git a/v2v/v2v.ml b/v2v/v2v.ml
|
2024-09-05 08:15:43 +00:00
|
|
|
|
index 427d35d4..3604e396 100644
|
2021-12-02 10:46:00 +00:00
|
|
|
|
--- a/v2v/v2v.ml
|
|
|
|
|
+++ b/v2v/v2v.ml
|
2024-08-01 10:13:04 +00:00
|
|
|
|
@@ -219,12 +219,6 @@ let rec main () =
|
2022-03-14 21:21:57 +00:00
|
|
|
|
warning (f_"the --vmtype option has been removed and now does nothing")
|
|
|
|
|
in
|
2021-12-02 10:46:00 +00:00
|
|
|
|
|
2022-03-14 21:21:57 +00:00
|
|
|
|
- (* Options that are errors. *)
|
|
|
|
|
- let in_place_error _ =
|
|
|
|
|
- error (f_"The --in-place option has been replaced by the \
|
|
|
|
|
- ‘virt-v2v-in-place’ program")
|
|
|
|
|
- in
|
|
|
|
|
-
|
|
|
|
|
let argspec = [
|
|
|
|
|
[ L"bandwidth" ], Getopt.String ("bps", set_string_option_once "--bandwidth" bandwidth),
|
|
|
|
|
s_"Set bandwidth to bits per sec";
|
2024-08-01 10:13:04 +00:00
|
|
|
|
@@ -248,8 +242,6 @@ let rec main () =
|
2021-12-02 10:46:00 +00:00
|
|
|
|
s_"Use password from file to connect to input hypervisor";
|
|
|
|
|
[ M"it" ], Getopt.String ("transport", set_string_option_once "-it" input_transport),
|
|
|
|
|
s_"Input transport";
|
2022-03-14 21:21:57 +00:00
|
|
|
|
- [ L"in-place" ], Getopt.Unit in_place_error,
|
|
|
|
|
- s_"Use virt-v2v-in-place instead";
|
2021-12-02 10:46:00 +00:00
|
|
|
|
[ L"mac" ], Getopt.String ("mac:network|bridge|ip:out", add_mac),
|
|
|
|
|
s_"Map NIC to network or bridge or assign static IP";
|
|
|
|
|
[ S 'n'; L"network" ], Getopt.String ("in:out", add_network),
|