debug: 0.953 graphic: 0.860 device: 0.812 hypervisor: 0.752 performance: 0.751 register: 0.704 PID: 0.685 ppc: 0.663 x86: 0.659 kernel: 0.655 peripherals: 0.630 virtual: 0.627 VMM: 0.568 arm: 0.565 network: 0.557 socket: 0.541 KVM: 0.537 risc-v: 0.531 semantic: 0.489 files: 0.472 vnc: 0.461 architecture: 0.446 mistranslation: 0.435 i386: 0.433 user-level: 0.422 TCG: 0.357 assembly: 0.308 boot: 0.290 permissions: 0.177 Migration from v8.0.0-rc2 to v7.2.0 with pcie-root-port device fails Description of problem: Loading the VM state fails with: ``` qemu-system-x86_64: get_pci_config_device: Bad config data: i=0x10a read: 40 device: 0 cmask: ff wmask: 0 w1cmask:0 qemu-system-x86_64: Failed to load PCIDevice:config qemu-system-x86_64: Failed to load pcie-root-port:parent_obj.parent_obj.parent_obj qemu-system-x86_64: error while loading state for instance 0x0 of device '0000:00:1c.0/pcie-root-port' qemu-system-x86_64: Error -22 while loading VM state ``` Steps to reproduce: Used the following script with the first argument being a build directory of v8.0.0-rc2 and the second a build directory of v7.2.0 ``` #!/bin/bash rm /tmp/disk.qcow2 args=" -device pcie-root-port,multifunction=on,bus=pcie.0,addr=1c.0,port=1,chassis=1 -machine type=pc-q35-7.2" $1/qemu-img create -f qcow2 /tmp/disk.qcow2 1G $1/qemu-system-x86_64 --qmp stdio --blockdev qcow2,node-name=node0,file.driver=file,file.filename=/tmp/disk.qcow2 $args <