Bug 2155749
Summary: | [regression][stable guest abi][qemu-kvm7.2]Migration failed due to virtio-rng device between RHEL8.8 and RHEL9.2/MSI-X | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Min Deng <mdeng> |
Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
qemu-kvm sub component: | Live Migration | QA Contact: | Min Deng <mdeng> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | coli, jinzhao, juzhang, lijin, lvivier, virt-maint, yduan |
Version: | 9.2 | Keywords: | Regression, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-7.2.0-4.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 07:23:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Min Deng
2022-12-22 08:09:49 UTC
Could you please boot the guest on both 8.8 and 9.2 and give me the output of : sudo lspci -vvv for both guests. Thanks, the main difference there is MSI-X on the virtio-rng: rhel8: Region 4: Memory at 5000300000 (64-bit, prefetchable) [size=16K] rhel9: Region 1: Memory at c2000000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at 5000300000 (64-bit, prefetchable) [size=16K] Capabilities: [dc] MSI-X: Enable+ Count=2 Masked- Vector table: BAR=1 offset=00000000 PBA: BAR=1 offset=00000800 (There are some minor MSI address differences on other devices, I'm not sure how important those are) This looks like it was caused by upstream 9ea02e8f13068d5f902c4bce909de2997fd77e41 in 7.2.0 Posted upstream: 0001-virtio-rng-pci-fix-migration-compat-for-vectors.patch QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. Reproduced the issue with build qemu-kvm-7.2.0-2.el9 Verified the bug on the following builds Source host: RHEL 8.6.z qemu-kvm-6.2.0-11.module+el8.6.0+17576+33ee06a8.7.x86_64 kernel - 4.18.0-372.41.1.el8_6.x86_64 seabios-bin-1.15.0-2.module+el8.6.0+14757+c25ee005.noarch edk2-ovmf-20220126gitbb1bba3d77-2.el8.noarch Destination host: qemu-kvm-block-curl-7.2.0-4.el9.x86_64 5.14.0-234.el9.x86_64 seabios-bin-1.16.1-1.el9.noarch edk2-ovmf-20221207gitfff6d81270b5-2.el9.noarch Verified the issue on the fix build, the migration can finish without issues. Notes, will also provide the test results from rhel 8.8 to rhel9.2 later. Thanks. Also tried the build between rhel8.8 to rhel9.2, rhel 8.8 kernel-4.18.0-449.el8.x86_64 qemu-kvm-6.2.0-28.module+el8.8.0+17721+63bacee8.x86_64 rhel9.2 kenrel-5.14.0-234.el9.x86_64 qemu-kvm-7.2.0-4.el9.x86_64 the test passed. The issue should be fixed well. Base on comment 12 and comment13, move this bug to be verified. Thanks. FYI the upstream equivalent of this is now merged as : bad9c5a5166fd5e3a892b7b0477cf2f4bd3a959a virtio-rng-pci: fix migration compat for vectors Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: qemu-kvm security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:2162 |