Commit Graph

109 Commits

Author SHA1 Message Date
Richard W.M. Jones
27e99401af Fix installation of drivers on firstboot with pending reboots
resolves: RHEL-100682
2025-07-13 13:01:14 +01:00
Richard W.M. Jones
4aed9b6a40 Remove virt-v2v -io vddk-noextents=true option
resolves: RHEL-102618
2025-07-09 16:14:48 +01:00
Richard W.M. Jones
b4e766d25d Turn live domain error into a warning
resolves: RHEL-88543

This commit adds a little more documentation.
2025-05-16 09:41:35 +01:00
Richard W.M. Jones
de0be4d153 New tool: virt-v2v-open
resolves: RHEL-88985
2025-05-07 13:15:05 +01:00
Richard W.M. Jones
96cc493c74 Turn live domain error into a warning
resolves: RHEL-88543
Remove usage of nbdkit-cacheextents-filter
resolves: RHEL-88857
Print better mountpoint stats in debug output
resolves: RHEL-88861
Add virt-v2v -io vddk-noextents=true so we can test noextents
resolves: RHEL-88863
Remove several ancient, deprecated options
resolves: RHEL-88866
2025-04-29 15:06:30 +01:00
Richard W.M. Jones
47ce2daa1e Turn live domain error into a warning
resolves: RHEL-88543
2025-04-25 12:06:44 +01:00
Richard W.M. Jones
51042a99b1 Print nbdcopy command in debug output
resolves: RHEL-86022
2025-04-04 14:56:28 +01:00
Richard W.M. Jones
00e965efce Print blkhash of converted image in virt-v2v debugging output
resolves: RHEL-85512
2025-03-31 13:42:52 +01:00
Richard W.M. Jones
809d9b96ac mlcustomize: Remove dnf --verbose option
resolves: RHEL-83289
2025-03-13 10:44:28 +00:00
Richard W.M. Jones
23a230a8f8 Fix failure if the kernel-source package is installed in the source VM
resolves: RHEL-80080
2025-02-25 11:54:21 +00:00
Richard W.M. Jones
d9760b8da3 convert: Use yum/apt/... for package removals
resolves: RHEL-71522
2025-02-11 15:31:01 +00:00
Richard W.M. Jones
7e0bcda907 mldrivers/linux_bootloaders.ml: Don't overwrite EFI grub2 wrapper
resolves: RHEL-77989
2025-02-09 19:12:54 +00:00
Richard W.M. Jones
88802688a4 in-place: Add new -O option to write inspector XML
resolves: RHEL-58032
2024-12-09 19:30:09 +00:00
Richard W.M. Jones
d43c5a3af1 Rebase to upstream development version 2.7.1
resolves: RHEL-56813
Replace Jansson with json-c
resolves: RHEL-65296
Find drivers for win2025 guests
resolves: RHEL-65010
2024-10-30 12:34:15 +00:00
Richard W.M. Jones
2555691d6f Rebase to upstream development version 2.6.0
resolves: RHEL-56813
2024-10-09 12:23:09 +01:00
Richard W.M. Jones
ae89f3e094 Rebase to upstream development version 2.5.9
Fix display of incorrect Windows 11 version
  resolves: RHEL-56784
Add customization options for post-conversion modification
  resolves: RHEL-55761
convert: windows: Ignore sriov drivers on virtio-win disk
  resolves: RHEL-56383
2024-09-05 09:15:43 +01:00
Richard W.M. Jones
ca3ed2cc5f convert: windows: Ignore sriov drivers on virtio-win disk
resolves: RHEL-56383
2024-08-29 15:59:49 +01:00
Richard W.M. Jones
3959367bee convert: windows: Online all virtio disks at first boot
resolves: RHEL-55763
2024-08-27 14:01:21 +01:00
Richard W.M. Jones
620a64c9a3 Further fixes for QEMU Guest Agent install & VMware Tools removal
resolves: RHEL-49761, RHEL-51169
2024-08-08 11:02:22 +01:00
Richard W.M. Jones
65bc8bfda4 Document uninstallation of VMware Tools on Windows
resolves: RHEL-51169
2024-08-05 10:45:17 +01:00
Richard W.M. Jones
98d79352dc Further fixes for QEMU Guest Agent
Place Windows firstboot files under C:\Program Files\Guestfs\Firstboot
Improve debugging output

resolves: RHEL-49761
2024-08-01 11:13:07 +01:00
Richard W.M. Jones
300e8d4355 Allow virt-v2v --mac gw and len fields to be optional
resolves: RHEL-50731
2024-07-28 15:37:03 +01:00
Richard W.M. Jones
b8698aba17 Fix installation of QEMU Guest Agent
resolves: RHEL-49761
2024-07-25 09:36:04 +01:00
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
Richard W.M. Jones
005f272767 Package virt-v2v-in-place in libexec as unsupported tool
Add warning about virt-v2v-in-place not being supported
resolves: RHEL-40903
Add more fields to virt-inspector output
related: MTV-1079
Revert "docs: Remove paragraph about -ip passwords and ssh/scp"
resolves: RHEL-45527
2024-07-09 11:53:48 +01:00
Richard W.M. Jones
549435f7bd Install virt-v2v-in-place as unsupported tool on RHEL
On RHEL we want to ship virt-v2v-in-place, but it is not supported, so
move it to libexec and remove the documentation.

Fixes: https://issues.redhat.com/browse/RHEL-40903
(cherry picked from commit 37f4f2f35dc14de187f53abc82c0e0054c315243)
2024-07-09 11:31:00 +01:00
Richard W.M. Jones
0fd1f21bfc Rebase to virt-v2v 2.5.4
- docs: Add VDDK prereq that server must not be in maintenance mode
  resolves: RHEL-33699
- convert: windows: Install blnsvr from virtio-win
  resolves: RHEL-36591
2024-05-16 14:10:25 +01:00
Richard W.M. Jones
2329c02af8 Unconditionally run autoreconf
(cherry picked from commit aae2f9ce73)
2024-05-16 13:53:34 +01:00
Richard W.M. Jones
1d87979efe Fix RHV JSON transfer bug
resolves: RHEL-32105
2024-04-08 16:00:57 +01:00
Richard W.M. Jones
6ab70ffd53 Rebase to virt-v2v 2.5.2
Add missing firmware types and enhance -o kubevirt
resolves: RHEL-28197
2024-03-15 11:10:30 +00:00
Richard W.M. Jones
9b8e386b1e Fix virt-v2v --version output
resolves: RHEL-22262
2024-01-22 09:56:46 +00:00
Richard W.M. Jones
c2a2dc32f2 Rebase to virt-v2v 2.4.0
Fix -i vmx when remote filename contains literal '*'
resolves: RHEL-21365

Add new virt-v2v-release-notes-2.4(1) man page to %files
2024-01-18 18:36:01 +00:00
Richard W.M. Jones
9871c4190e Improve the error message for -i vmx with a .vmdk file
resolves: RHEL-19564
2023-12-19 13:05:38 +00:00
Richard W.M. Jones
29228bce64 Rebase to virt-v2v 2.3.7
Implement --key all:...
  resolves: RHEL-18142
Fix off-by-one error causing rare crash
  resolves: RHEL-19061
2023-12-11 17:20:49 +00:00
Richard W.M. Jones
09f3b77799 -it ssh: Double quote ssh command which tests remote file exists
resolves: RHEL-12105
2023-11-10 15:21:21 +00:00
Laszlo Ersek
ac1270e705 make the appliance kernel uniprocessor in %check / gating...
... for working around RHBZ#2216496.

(This change is unrelated to RHBZ#2182024, highlighted below.)

resolves: rhbz#2182024
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-07-03 15:59:29 +02:00
Laszlo Ersek
9f79ec032d improve UX when running as root and we can't chown v2v tmpdir or socks
resolves: rhbz#2182024
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-06-30 11:14:16 +02:00
Laszlo Ersek
a7a1117b6b start all libvirtd services after installing libvirt-daemon-kvm
https://lists.corp.redhat.com/archives/osci-list/2023-June/001238.html

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-06-26 11:28:34 +02:00
Laszlo Ersek
552929e8d3 recognize "--key /dev/mapper/VG-LV🔑password"; fix %check phase
(1) Backport the upstream patches for recognizing the command line option

      --key /dev/mapper/VG-LV🔑password

    Similarly to the backports for guestfs-tools BZ#2209280 and libguestfs
    BZ#2209279, here we need to update the common submodule (thankfully we
    need not excise any hunks -- we had to do that for libguestfs).

    Unlike those "single-step" submodule updates however, for virt-v2v we
    bridge the same submodule commit range 70c10a079a30..b636c3f20a1b in
    two steps, stopping at commit 38e6988c1864 in the middle. We do that
    simply because that's how upstream virt-v2v moved; i.e., there are two
    upstream patches to cherry-pick for advancing our submodule reference.

(2) In dist-git commit ef9a918d7e, there was a typo: the "test" command
    was left out. Therefore even our simple test conversion has not been
    invoked -- see e.g.
    <https://download.eng.bos.redhat.com/brewroot/vol/rhel-9/packages/virt-v2v/2.3.4/2.el9/data/logs/x86_64/build.log>:

> + -s test-data/phony-guests/windows.img
> /var/tmp/rpm-tmp.UMecKA: line 48: -s: command not found

    Unfortunately, incorrectly (not) invoking "test -s" has had results
    identical to invoking "test -s" correctly and "test -s" failing;
    therefore we've been just silently skipping our simple conversion,
    assuming "no non-empty guest disk images".

    Fix this typo...

(3) ... and then run the sole "test-v2v-fedora-luks-on-lvm-conversion.sh"
    test from the test suite, for verifying the backport in the build
    environment. (The idea for the future is that we'd run such individual
    tests whenever backporting patches.) For this, we also start depending
    (at build time) on the sqlite3 command.

resolves: rhbz#2168506
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-06-20 16:40:47 +02:00
Richard W.M. Jones
0aadbb4e02 Remove --block-driver option downstream
resolves: rhbz#2190387
2023-04-28 12:41:31 +01:00
Richard W.M. Jones
5e9160dca7 Rebase to virt-v2v 2.3.4
resolves: rhbz#2187961, rhbz#2175703, rhbz#2172075, rhbz#2168082, rhbz#1986386
2023-04-20 10:16:49 +01:00
Laszlo Ersek
32f1dfd611 cope with kernel-core / kernel-modules-core subpkg split in RHEL-9.2 guests
resolves: rhbz#2184970
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2023-04-09 10:52:07 +02:00
Richard W.M. Jones
f1abc5da69 Remove warning when converting Rocky Linux
resolves: rhbz#2166618
Fix kernel panic after converting Rocky Linux 9
resolves: rhbz#2166619
2023-02-06 12:26:42 +00:00
Richard W.M. Jones
2587cc46a1 Remove -oo qemu-boot option completely
resolves: rhbz#2166565
2023-02-02 08:33:03 +00:00
Richard W.M. Jones
8f96179862 Enable debugging in basic tests
related: rhbz#2162332
2023-01-30 15:45:45 +00:00
Richard W.M. Jones
0d5af3e0fc Update for: -o kubevirt: Error if invalid guest name on target
resolves: rhbz#2162332
2023-01-30 09:52:55 +00:00
Richard W.M. Jones
f3ab056a8e -o kubevirt: Fix position of cpu field
resolves: rhbz#2162331

-o kubevirt: Fix incorrect error message
resolves: rhbz#2162441

-o kubevirt: Error if invalid guest name on target
resolves: rhbz#2162332

-o kubevirt: Enable -oo compressed option
resolves: rhbz#2162444
2023-01-20 10:46:07 +00:00
Richard W.M. Jones
ef9a918d7e Rebase to virt-v2v 2.2.0
resolves: rhbz#2135762

Include the BOCHS DRM driver in the initial ram disk
resolves: rhbz#2131123

windows_virtio: favor "fwcfg" over "qemufwcfg"
resolves: rhbz#2151752

-o rhv-upload: set ovirt:id correctly
resolves: rhbz#2152465

Enable the %check tests
2023-01-10 15:40:11 +00:00
Richard W.M. Jones
5eebd819d3 Copy drivers for Windows 11, Windows 2019 & Windows 2022
resolves: rhbz#2149811
Fix Description field for Windows >= 10 in -o rhv/vdsm modes
resolves: rhbz#2149863
Fix UEFI fallback boot loader if broken
resolves: rhbz#2149629
Document Windows system on Dynamic Disk is not supported (2140548)
Include the BOCHS DRM driver in the initial ram disk (2131123)

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
2022-12-05 09:51:09 +00:00
Laszlo Ersek
cc82339c1c Install qemu-ga package during conversion
Pick up upstream/rhel-9.1 7dd396af54df ("convert_linux: start the QEMU
guest agent in a distro-specific way", 2022-08-18).

Hoist the previous rhbz#2028764 section in the %changelog to the top.

resolves: rhbz#2028764
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-08-18 11:36:06 +02:00