Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2026443

Summary: 8.6/migration fails with: "qemu-kvm: get_pci_config_device: Bad config data: i=0x9a read: 3 device: 2 cmask: ff wmask: 0 w1cmask:0"
Product: Red Hat Enterprise Linux 8 Reporter: Dr. David Alan Gilbert <dgilbert>
Component: qemu-kvmAssignee: Dr. David Alan Gilbert <dgilbert>
qemu-kvm sub component: Machine Types QA Contact: Min Deng <mdeng>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: berrange, coli, dgilbert, ehadley, jasowang, jean-louis, jinzhao, juzhang, mburman, mdeng, michal.skrivanek, mrezanin, mzamazal, stefanha, virt-maint, ymankad
Version: 8.6Keywords: TestOnly, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1999141 Environment:
Last Closed: 2022-04-27 05:47:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1999141    
Bug Blocks: 2025468    

Comment 4 Min Deng 2022-03-17 07:02:55 UTC
QE could reproduce the issue on the following build
qemu-kvm-6.0.0-32.module+el8.5.0+12949+ac589a5c.x86_64
qemu-kvm-6.1.0-1.module+el8.6.0+12721+8d053ff2.x86_64
1.On a guest on src host
  See attachment for qemu command line.
2.Start a guest on dst host witn "-incoming defer" 
Expected result,
Migration passed and guest works as expected.
Actual result,
(qemu) qemu-kvm: get_pci_config_device: Bad config data: i=0x34 read: 54 device: 90 cmask: ff wmask: 0 w1cmask:0
qemu-kvm: Failed to load PCIDevice:config
qemu-kvm: Failed to load pcie-root-port:parent_obj.parent_obj.parent_obj
qemu-kvm: error while loading state for instance 0x0 of device '0000:00:04.0/pcie-root-port'
qemu-kvm: load of migration failed: Invalid argument

Comment 6 Min Deng 2022-03-17 07:25:37 UTC
I'd like to do a summary,
1.The issue can be reproduced on the following builds
qemu-kvm-6.0.0-32.module+el8.5.0+12949+ac589a5c.x86_64/qemu-kvm-6.0.0-33.module+el8.5.0+13041+05be2dc6 (it's the fix version for bug 1999141)
qemu-kvm-6.1.0-1.module+el8.6.0+12721+8d053ff2.x86_64
2.The issue wasn't reproducible on the following builds 
qemu-kvm-6.0.0-33.module+el8.5.0+13041+05be2dc6
qemu-kvm-6.2.0-8.module+el8.6.0+14324+050a5215.x86_64

I will do full regression test for case 2, will update the results later. Thanks !

Comment 7 Min Deng 2022-04-02 09:56:51 UTC
RHEL 8.5.0 - host
RHEL-8.5.0-updates-20220222.0
kernel-4.18.0-348.12.2.el8_5.x86_64
qemu-kvm-6.0.0-33.module+el8.5.0+14188+8c5ecfdd.3.x86_64
seavgabios-bin-1.14.0-1.module+el8.4.0+8855+a9e237a9.noarch
seabios-bin-1.14.0-1.module+el8.4.0+8855+a9e237a9.noarch
edk2-ovmf-20210527gite1999b264f1f-3.el8.noarch
RHEL 8.6.0 - host
RHEL-8.6.0-20220322.0
kernel-4.18.0-372.2.1.el8.x86_64
qemu-kvm-6.2.0-9.module+el8.6.0+14480+c0a3aa0f.x86_64
seavgabios-bin-1.15.0-1.module+el8.6.0+14480+c0a3aa0f.noarch
seabios-bin-1.15.0-1.module+el8.6.0+14480+c0a3aa0f.noarch
edk2-ovmf-20220126gitbb1bba3d77-2.el8.noarch
Host: RHEL-8.6.0-20220322.0

Test passed

========================= Test Requirement: RHEL7-287068-Q35-BLKDEV(Stable Guest ABI for X86) =========================
--> Running case(1/11): RHEL7-286734-POST-COPY-[stable guest abi][x86_q35]do post-copy migration with "-M rhel8.5.0" machine type (6 min 4 sec)--- PASS.
--> Running case(2/11): RHEL7-286734-[stable guest abi][x86_q35]do forward and backward migration with "-M rhel8.5.0" machine type (8 min 0 sec)--- PASS.
--> Running case(3/11): RHEL7-241891-POST-COPY-[stable guest abi][x86_q35]do post-copy migration with "-M rhel8.4.0" machine type (5 min 40 sec)--- PASS.
--> Running case(4/11): RHEL7-241891-[stable guest abi][x86_q35]do forward and backward migration with "-M rhel8.4.0" machine type (8 min 0 sec)--- PASS.
--> Running case(5/11): RHEL-202178-[stable guest abi][x86_q35]Test stable guest abi with tsx-ctrl on Cascadelaker-Server (0 min 4 sec)--- CANCEL.
--> Running case(6/11): RHEL7-198262-POST-COPY-[stable guest abi][x86_q35]do post-copy migration with "-M rhel8.3.0" machine type (5 min 36 sec)--- PASS.
--> Running case(7/11): RHEL7-198262-[stable guest abi][x86_q35]do forward and backward migration with "-M rhel8.3.0" machine type (8 min 0 sec)--- PASS.
--> Running case(8/11): RHEL7-189110-[stable guest abi][x86_q35]do forward and backward migration with "-M rhel8.2.0" machine type (8 min 8 sec)--- PASS.
--> Running case(9/11): RHEL7-189110-POST-COPY-[stable guest abi][x86_q35]do post-copy migration with "-M rhel8.2.0" machine type (5 min 36 sec)--- PASS.
--> Running case(10/11): RHEL7-177269-[stable guest abi][x86_q35]do forward and backward migration with "-M rhel8.1.0" machine type (8 min 4 sec)--- PASS.
--> Running case(11/11): RHEL7-177269-POST-COPY-[stable guest abi][x86_q35]do post-copy migration with "-M rhel8.1.0" machine type (6 min 24 sec)--- PASS.

Comment 8 Min Deng 2022-04-13 11:47:16 UTC
Base on above test results, QE will close it as currentrelease, thanks a lot. Feel free to update this bug if you have any concerns.