Bug 1638077

Summary: Cross migration from RHEL7.5 to RHEL7.6 fails with cpu flag stibp [rhel-7.6.z]
Product: Red Hat Enterprise Linux 7 Reporter: Oneata Mircea Teodor <toneata>
Component: qemu-kvm-rhevAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: jingzhao <jinzhao>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.6CC: chayang, dgilbert, ehabkost, fjin, hannsj_uhl, hhuang, jdenemar, jherrman, jinzhao, juzhang, kchamart, knoel, michen, mrezanin, mtessun, salmy, toneata, virt-maint, xuzhang, zhguo
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.12.0-18.el7_6.1 Doc Type: Bug Fix
Doc Text:
Previously, migrating virtual machines (VMs) from a Red Hat Enterprise Linux 7.5 host with a single-thread indirect branch predictors (STIBP) flag set in some cases failed. This update ensures that the flag is consistently added to VMs with an AMD64 or Intel 64 virtual CPU (vCPU), which prevents the described problem from occurring.
Story Points: ---
Clone Of: 1633150 Environment:
Last Closed: 2018-11-01 11:33:04 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:
Bug Depends On: 1633150    
Bug Blocks:    

Description Oneata Mircea Teodor 2018-10-10 15:29:06 UTC
This bug has been copied from bug #1633150 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 4 jingzhao 2018-10-16 06:15:30 UTC
Reproduce it with qemu-kvm-rhev-2.12.0-18.el7.x86_64

and verify it with qemu-kvm-rhev-2.12.0-18.el7_6.1.x86_64

migrate successfully from 7.5 host to 7.6 host with stibp=on

qemu line:
/usr/libexec/qemu-kvm \
-machine pc-i440fx-rhel7.5.0,accel=kvm,usb=off \
-cpu IvyBridge,ss=on,pcid=on,hypervisor=on,arat=on,tsc_adjust=on,stibp=on,ssbd=on,xsaveopt=on \
-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 \
-chardev file,path=/home/seabios.log,id=seabios -device isa-debugcon,chardev=seabios,iobase=0x402 \
-boot menu=on \
-qmp tcp:0:6667,server,nowait \
-usb \
-device usb-tablet \
-vga qxl \
-drive file=/mnt/rhel76-64-virtio-scsi.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 virtio-net-pci,netdev=tap10,mac=00:52:68:26:31:03,id=net0 -netdev tap,id=tap10 \
-vnc :1 \
-spice port=5910,addr=0.0.0.0,disable-ticketing,seamless-migration=on \
-monitor stdio \
-incoming tcp:0:5800


according to above result. change to verify

Comment 6 errata-xmlrpc 2018-11-01 11:33:04 UTC
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/RHBA-2018:3444