Commit Graph

97 Commits

Author SHA1 Message Date
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
Richard W.M. Jones
2dca36ed01 Remove LVM2 "devices file" during conversion
resolves: rhbz#2112801
Add support for Zstandard compressed kernel modules
resolves: rhbz#2116811
2022-08-10 09:05:41 +01:00
Laszlo Ersek
ef5fbb5721 input-xen: cover RHEL9 OpenSSL crypto settings
- Backport upstream ddab06d5eb99 [master] / 9e1c78a4dda8 [rhel-9.1].

- copy-patches.sh: rewrap patch formatting command, spell out "--patience"
  (already expected), then decrease churn by passing "--no-signature".

- Migrate earlier rhbz#2062360 %changelog entries to latest (=new) entry.

resolves: rhbz#2062360
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-07-29 15:27:37 +02:00
Laszlo Ersek
b6d936748a fix date format in %changelog
resolves: rhbz#2107503

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-07-28 16:59:02 +02:00
Laszlo Ersek
cb0feb7db4 relax qemu64 VCPU feature checking in the libvirt output
resolves: rhbz#2107503

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-07-25 15:28:25 +02:00
Richard W.M. Jones
3a13726152 Fix remapping of nvme devices in /boot/grub2/device.map
resolves: rhbz#2101665
Improve documentation of vmx+ssh and -ip option
resolves: rhbz#1854275
Remove legacy crypto advice and replace with targeted mechanism
resolves: rhbz#2062360
Fix race condition when unmounting in -o rhv mode (1953286#c26)
2022-07-15 15:48:54 +01:00
Richard W.M. Jones
0ab0657041 Rebase to stable branch version 2.0.7
resolves: rhbz#2059287
2022-07-06 17:29:45 +01:00
Richard W.M. Jones
b6cf325d1f Fix CVE-2022-2211 Denial of Service in --key parameter
resolves: rhbz#2102719
Add -oo compressed support
resolves: rhbz#2047660
Install qemu-ga package during conversion (2028764)
Limit the maximum of disks per guest
resolves: rhbz#2051564
Add support for LUKS encrypted guests using Clevis & Tang
resolves: rhbz#1809453
2022-07-05 12:06:39 +01:00
Richard W.M. Jones
05ecc1e30a Add Requires python3 / platform-python
resolves: rhbz#2094779

(cherry picked from commit 1180dbb912)
2022-06-08 20:47:59 +01:00
Richard W.M. Jones
297d84e622 Remove nbdkit-readahead-filter as it is no longer used
related: rhbz#2094779

(cherry picked from commit 76a47e52e4)
2022-06-08 20:47:59 +01:00
Richard W.M. Jones
2c8a2391cb Rebase to stable branch version 2.0.6
resolves: rhbz#2059287, rhbz#1658126, rhbz#1788823, rhbz#1854275

If listing RPM applications fails, rebuild DB and retry (2089623)
Document -i vmx -it ssh percent encoding in ssh URIs
resolves: rhbz#1938954
Document extra permissions needed for VMware 7 (1817050)
Remove osprober devices left around by grub2
resolves: rhbz#2003503
2022-05-26 14:29:40 +01:00
Richard W.M. Jones
6efd7f7327 Rebase to stable branch version 2.0.5
resolves: rhbz#2059287
Fix -o qemu warning
resolves: rhbz#2082603
2022-05-12 18:05:05 +01:00
Richard W.M. Jones
d529cb77d0 Rebase to stable branch version 2.0.4
Multiple fixes for -o qemu mode
resolves: rhbz#2074805
Work around blocking bug in OpenStack
resolves: rhbz#2074801
If multiple open-vm-tools packages are installed, remove all (2076436)
For -o rhv-upload wait for VM creation task
resolves: rhbz#1985830
For -i vmx add full support for SATA hard disks
resolves: rhbz#1883802
Fix booting of RHEL 9.1 guests after conversion
resolves: rhbz#2076013
2022-04-26 11:32:32 +01:00