Bug 1511312
Summary: | Migrate an VM with pci-bridge or pcie-root-port failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Meina Li <meili> |
Component: | qemu-kvm-rhev | Assignee: | Dr. David Alan Gilbert <dgilbert> |
Status: | CLOSED ERRATA | QA Contact: | jingzhao <jinzhao> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.5 | CC: | chayang, drjones, hhan, jinzhao, juzhang, knoel, lmen, lmiksik, lvivier, michen, mrezanin, peterx, quintela, qzhang, virt-maint, yafu, yisun |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.10.0-7.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-11 00:46:47 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: |
Description
Meina Li
2017-11-09 06:43:55 UTC
pci-bridge issue is tracked in the following BZ: Bug 1508271 - Migration is failed from host RHEL7.4.z to host RHEL7.5 with "-machine pseries-rhel7.4.0 -device pci-bridge,id=pci_bridge,bus=pci.0,addr=03,chassis_nr=1" Result on comment4 is really werid. Could you doublecheck that the machine type is the same on both sides? It looks like you are using the 7.5.0 one in one side and 7.4.0 on the other no? (In reply to Juan Quintela from comment #5) > Result on comment4 is really werid. Could you doublecheck that the machine > type is the same on both sides? It looks like you are using the 7.5.0 one > in one side and 7.4.0 on the other no? Sorry, changed the same machine type and can reproduce the issue Hit the error (qemu) red_dispatcher_loadvm_commands: qemu-kvm: Missing section footer for 0000:00:0a.0/pcie-root-port /usr/libexec/qemu-kvm \ -M pc-q35-rhel7.4.0,accel=kvm,kernel-irqchip=split \ -device intel-iommu,intremap=on \ -cpu Haswell-noTSX \ -nodefaults -rtc base=utc \ -m 4G \ -smp 4,sockets=4,cores=1,threads=1 \ -enable-kvm \ -uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \ -k en-us \ -nodefaults \ -global isa-debugcon.iobase=0x402 \ -boot menu=on \ -qmp tcp:0:6667,server,nowait \ -usb \ -device usb-tablet \ -vga qxl \ -drive file=/mnt/test/rhel75-64-virtio.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop \ -device virtio-blk-pci,drive=drive-virtio-disk0,id=virtio-disk0 \ -device pcie-root-port,bus=pcie.0,id=root0,multifunction=on,chassis=1,addr=0xa.0 \ -device virtio-net-pci,netdev=tap10,mac=9a:6a:6b:6c:6d:6e,bus=root0 -netdev tap,id=tap10 \ -device pcie-root-port,bus=pcie.0,id=root1,chassis=11,addr=0xa.1 \ -monitor stdio \ -vnc :1 \ Thanks Jing Confirmed can trigger it with the trivial: /usr/libexec/qemu-kvm -M pc-q35-rhel7.4.0,accel=kvm -nographic -device pcie-root-port,bus=pcie.0,id=root0 -S The x-migrate-msix property is false on 2.9 and true on 2.10; flipping it makes the migration work. This is odd because I can see: SET_MACHINE_COMPAT(m, PC_RHEL7_4_COMPAT); #define PC_RHEL7_4_COMPAT \ HW_COMPAT_RHEL7_4 \ #define HW_COMPAT_RHEL7_4 \ { /* HW_COMPAT_RHEL7_4 */ \ .driver = "intel-iommu",\ .property = "pt",\ .value = "off",\ },{ /* HW_COMPAT_RHEL7_4 */ \ .driver = "pcie-root-port",\ .property = "x-migrate-msix",\ .value = "false",\ }, ok, we just need to remove that last entry; brewing. Downstream fixes posted: pcie_root_port: Fix x-migrate-msix compat q35: Fix mismerge Fix included in qemu-kvm-rhev-2.10.0-7.el7 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, 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-2018:1104 |