Commit Graph

56 Commits

Author SHA1 Message Date
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
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
Richard W.M. Jones
0a6d24c379 Rebase to stable branch version 2.0.3
Remove -o json mode
resolves: rhbz#2074026
Allow conversion of guests with NVMe drives from VMX files
resolves: rhbz#2070530
Cleanly reject guests with snapshots when using -it ssh
resolves: rhbz#1774386
Document that vmx+ssh "-ip" auth doesn't cover ssh / scp shell commands
resolves: rhbz#1854275
Fix conversion if swap partition isn't encrypted with root directory
resolves: rhbz#1658128
Document permissions when importing OVA using RHV UI
resolves: rhbz#2039597
2022-04-12 12:18:30 +01:00
Richard W.M. Jones
48c7f08e4f Rebase to stable branch version 2.0.2
resolves: rhbz#2059287
2022-04-04 13:54:07 +01:00
Richard W.M. Jones
855feb8b45 Rebase to stable branch version 2.0.1
Fix security issue when running virt-v2v as root
resolves: rhbz#2066773
2022-03-23 14:32:58 +00:00
Richard W.M. Jones
f4a3153f79 Fix openssh-clients dependency
resolves: rhbz#2064178
2022-03-15 08:55:59 +00:00
Richard W.M. Jones
75833be3e2 Rebase to stable branch version 2.0.0
resolves: rhbz#2059287, rhbz#1658126, rhbz#1788823, rhbz#1854275
2022-03-14 21:27:55 +00:00
Richard W.M. Jones
b4302313b9 -o rhv-upload: Improve conversion performance
resolves: rhbz#2039255
-o rhv-upload: Keep connections alive
resolves: rhbz#2032324
-o rhv-upload: Replace -oo rhv-direct with -oo rhv-proxy
resolves: rhbz#2033096
- Fix log line wrapping making log parsing difficult (1820221)
2022-02-15 18:48:46 +00:00
Richard W.M. Jones
991b284375 Rebase to upstream 1.45.98.
Add check for sufficient free space in the host
resolves: rhbz#2051394
Update documentation of -ip for conversions from VMware over HTTPS
related: rhbz#1960087
-o rhv-upload: Keep connections alive (2032324)
-o rhv-upload: Improve conversion performance (2039255)
2022-02-10 19:59:40 +00:00
Laszlo Ersek
4b8820ac0b fix rhbz#1960087, rhbz#2043333
v2v import from vCenter fails when using interactive password because
cookie-script tries to be interactive (pick commit 8abc07a8589a)
resolves: rhbz#1960087

model='virtio-transitional' is wrongly added when converting windows guest
to local by rhel9 v2v (pick commit range commit range
8abc07a8589a..cacedec64072)
resolves: rhbz#2043333

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-02-02 14:44:36 +01:00
Richard W.M. Jones
04a560e699 Fix hang when converting with virt-p2v
resolves: rhbz#2044911
Send nbdinfo debugging information to stderr
resolves: rhbz#2044922
Explicitly require platform-python
resolves: rhbz#2046178
2022-01-26 13:08:10 +00:00
Richard W.M. Jones
211690d47b Fix virt-v2v hang when given incorrect vpx:// URL
resolves: rhbz#2041886
2022-01-20 12:46:20 +00:00
Richard W.M. Jones
7c71720a7f Rebase to upstream 1.45.97.
resolves: rhbz#2011713
Fix -o rhv mode
resolves: rhbz#2027598
input: xen: Fix assertion error when importing from remote block device
resolves: rhbz#2041852
output: -o json: Allow -oo (output options) to work
resolves: rhbz#2041850
2022-01-18 21:35:54 +00:00
Richard W.M. Jones
c553c74d10 Rebase to upstream 1.45.96.
resolves: rhbz#2011713
Add virtio-transitional for older guests when converting to q35
resolves: rhbz#1942325
2022-01-07 12:09:57 +00:00
Laszlo Ersek
7ea0c8cf97 output_rhv: restrict block status collection to the old RHV output
resolves: rhbz#2034240
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:34:38 +01:00
Richard W.M. Jones
8190ec8540 Include a few experimental non-upstream patches
These two patches fix potential issues.  Best to get them tested over
Christmas and New Year.

    v2v: Swap over the output and conversion stages

    In old virt-v2v, we did (approximately, since the steps were not as
    clear):

      Input -> Convert -> Output -> Copy -> Finalize

    After modularizing virt-v2v we changed this to:

      Input -> Output -> Convert -> Copy -> Finalize

    However this has a (sort of) problem.  For -o rhv-upload when we start
    the nbdkit rhv-upload-plugin machinery, it obtains a time-limited
    ticket from imageio.  This ticket could expire if the conversion step
    takes longer than a certain time (60 seconds by default, may be
    increased in a future version of oVirt).

    I believe this is really a problem in imageio or that the
    rhv-upload-plugin should really renew this ticket automatically, but
    it does not, instead failing.  (The ticket *is* renewed automatically
    whenever a request is sent to imageio, but in this case no requests
    are being sent).

    Anyway the easiest thing is to switch the ordering back to how it was
    in old virt-v2v (at top).  It doesn't make a difference for any other
    output modes.

    Reported-by: Nir Soffer

and:

    v2v: Remove nbdcopy --request-size=4M flag

    This was added when we were setting the cow-block-size to 1M.  However
    since commit 351d61f768 ("input: -it vddk: Reduce cow-block-size to 4K")
    we stopped doing that so this is no longer needed.

    Reverts: commit 08e764959ec9dadd71a95d22d3d88d647a18d165

Related: rhbz#2011713
2021-12-18 13:51:11 +00:00
Richard W.M. Jones
7f5895afd1 Rebase to upstream 1.45.95.
- Fix q35 error "IDE controllers are unsupported"
- Add virt-v2v and libvirt version in debug output
- Fix -o rhv output mode showing no guests listed
  resolves: rhbz#1637857, rhbz#2032112, rhbz#2027598
2021-12-18 11:34:28 +00:00
Richard W.M. Jones
db9d8a6e4c Revert "output: Don't use nbdkit-file-plugin cache=none when writing"
Backport the following upstream commit:
5d5383b912

Require nbdkit >= 1.28.3-2.el9 since that contains the associated
optimization to write eviction in the file plugin:

a956e2e75d

related: rhbz#2011713
2021-12-08 11:26:09 +00:00
Richard W.M. Jones
94cf9be0f8 Don't use nbdkit-file-plugin cache=none when writing
Further performance fix for https://bugzilla.redhat.com/2011713

related: rhbz#2011713
2021-12-07 13:48:05 +00:00
Richard W.M. Jones
a6ee991e8e New upstream development version 1.45.94 (preview of 2.0)
Requires nbdkit >= 1.28.3 / 1.29.9

Containing this fix:
c6fe9cb5b4

(cherry picked from commit b06ee3b61c)

resolves: rhbz#2011713
2021-12-07 10:18:52 +00:00
Richard W.M. Jones
80d7267e49 Rebase to upstream 1.45.93.
resolves: rhbz#2011713
2021-12-03 17:34:59 +00:00
Richard W.M. Jones
99c8749f70 New upstream development version 1.45.92 (preview of 2.0)
(cherry picked from commit 2821511444)

Require openssh-clients scp >= 8.7p1

See:
https://bugzilla.redhat.com/show_bug.cgi?id=2027673
e2af12ba69

(cherry picked from commit d58960176f)

Fix previous commit

Apparently versioned filenames are not allowed:

  error: line 121: Versioned file name not permitted: Requires:      /usr/bin/scp >= 8.7p1

(cherry picked from commit df4a127b93)

resolves: rhbz#2011713, rhbz#1961107, rhbz#2027673
2021-12-02 13:23:14 +00:00
Laszlo Ersek
cd77acc433 Rebase to modular virt-v2v 1.45.91
Add pending upstream patches (v2) for 1961107.
resolves: rhbz#2011713

--

Original commit messages:

prepare dist-git branch for rebase to 1.45.91 by Laszlo

Signed-off-by: Laszlo Ersek <lersek@redhat.com>

Take some spec file mods from "Virt-v2v 2.0 modular test 9." by Rich

Origin: Message-Id: <20211114151337.880321-1-rjones@redhat.com>.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

refresh patch list, %changelog, Release, for 1.45.91 + RHBZ#1961107 v2

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-11-26 12:17:17 +00:00
Richard W.M. Jones
dd04127f3d Fix conversion of Windows BitLocker guests
resolves: rhbz#1994984
2021-08-18 11:14:00 +01:00
Mohan Boddu
68303dfb29 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 01:16:32 +00:00
Richard W.M. Jones
d61af35693 New upstream development version 1.45.3.
Rebase RHEL patches.
resolves: rhbz#1950634

(cherry picked from commit c8d08693ef)
2021-08-06 13:12:39 +01:00
Richard W.M. Jones
fd1f10a5fe New upstream development version 1.45.2.
Remove --debug-overlays and --print-estimate options.
Remove -o glance option on RHEL 9 (RHBZ#1977539).
Remove support for RHEV-APT (RHBZ#1945549).

resolves: rhbz#1950634, rhbz#1977539, rhbz#1977681, rhbz#1945549

(cherry picked from commit be8fe16bb5)
2021-06-30 12:04:35 +01:00
Richard W.M. Jones
3d83502589 Bump version
related: rhbz#1950634
2021-06-16 21:05:50 +01:00
Richard W.M. Jones
c7ac006808 Manually merge fedora/rawhide up to commit 29135227ce
resolves: rhbz#1950634
2021-06-16 13:23:07 +01:00
Richard W.M. Jones
1dafceddca nbdkit-vddk-plugin dep only exists on x86-64
related: rhbz#1950634
2021-06-11 14:54:36 +01:00
Richard W.M. Jones
7520e138e8 Rebuild in RHEL 9 against libguestfs 1.45.5.
resolves: rhbz#1959042
2021-05-10 17:45:04 +01:00
Richard W.M. Jones
ffdd6d8c31 Manually merge fedora/rawhide
related: rhbz#1950634
2021-05-07 13:41:15 +01:00
Mohan Boddu
b165ccc280 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 06:06:45 +00:00