Red Hat Bugzilla – Bug 1434784
migration: 7.4->7.2 error while loading state for instance 0x0 of device 'apic'
Last modified: 2018-01-10 06:23:20 EST
Description of problem: Migration from a 7.4 (2.9 rebase) to 7.2 fails /usr/libexec/qemu-kvm -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off,vmport=off -cpu IvyBridge -m 4096 -no-hpet -drive file=/home/vms/7.3-fromimage.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -chardev stdio,mux=on,id=mon -mon chardev=mon,mode=readline --device isa-serial,chardev=mon -net none Version-Release number of selected component (if applicable): Destination: qemu-kvm-rhev-2.3.0-31.el7_2.25.x86_64 Source: 2.9.0-0 rebase world How reproducible: 100% Steps to Reproduce: 1. command line above 2. migrate towards 7.2 3. Actual results: Expected results: Additional info:
Caused by new apic subsection apic_irq_delivered in 2.9, added by : v2.8.0-850-g07bfa35 apic: save apic_delivered flag
Paolo is reverting that upstream.
This issue is hit when do migration from rhel7.4 to rhel7.3.z on x86_64. The reproduction is as following: version: RHEL7.4 (src host) 3.10.0-623.el7.x86_64 qemu-kvm-rhev-2.9.0-0.el7.mrezanin201703210848.x86_64 RHEL7.3.z(dst host) 3.10.0-514.17.1.el7.x86_64 qemu-kvm-rhev-2.6.0-28.el7_3.7.x86_64 steps: 1)Boot a guest in rhel7.4 host: # /usr/libexec/qemu-kvm -machine pc-i440fx-rhel7.3.0 -monitor stdio 2)Boot a guest in rhel7.3.z host with incoming # /usr/libexec/qemu-kvm -machine pc-i440fx-rhel7.3.0 -monitor stdio -incoming tcp:0:5801 3)in rhel7.4 host, do migration (qemu) migrate -d tcp:10.66.10.208:5801 Actual result: migration failed, check the status of migration: on rhel7.4(src host) (qemu) info status VM status: running (qemu) info migrate Migration status: failed on rhel7.3.z(dst host) (qemu) qemu-kvm: error while loading state for instance 0x0 of device 'apic' qemu-kvm: load of migration failed: No such file or directory How reproducible: 3/3
This should be fixed by 5354edd286ea6e956b81da66c9dcc5e47028198e upstream which is Paolo's revert.
Reproduce this bug: 7.2.z: kernel-3.10.0-327.53.1.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.25.x86_64 7.4: kernel-3.10.0-650.el7.x86_64 qemu-kvm-rhev-2.9.0-0.el7.mrezanin201703210848.x86_64 Reproduce steps: 1. boot a guest in 7.4 host: # /usr/libexec/qemu-kvm -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off,vmport=off -cpu IvyBridge -m 4096 -no-hpet -drive file=/mnt/stable_guest_abi/rhel74-64-virtio.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -net none -monitor stdio 2. boot the guest in 7.2.z host: # /usr/libexec/qemu-kvm -machine pc-i440fx-rhel7.2.0,accel=kvm,usb=off,vmport=off -cpu IvyBridge -m 4096 -no-hpet -drive file=/mnt/stable_guest_abi/rhel74-64-virtio.qcow2,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -chardev stdio,mux=on,id=mon -net none -monitor stdio -incoming tcp:0:5800 3. do migration (qemu) migrate -d tcp:10.73.196.143:5800 Result: Migration is failed and dst qemu quits with: qemu-kvm: error while loading state for instance 0x0 of device 'apic' qemu-kvm: load of migration failed: No such file or directory Verify this bug: 7.2.z: kernel-3.10.0-327.53.1.el7.x86_64 qemu-kvm-rhev-2.3.0-31.el7_2.25.x86_64 7.4: kernel-3.10.0-650.el7.x86_64 qemu-kvm-rhev-2.9.0-1.el7.x86_64 Test using the above command line and migration can be finished normally. Also test 7.4->7.3.z, the result is pass.
Based on comment #5, set this bug to be verified.
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-2017:2392