Bug 1791653

Summary: Backport: Passthrough host CPU microcode version to KVM guest if using CPU passthrough to RHEL 7.7/7.8
Product: Red Hat Enterprise Linux 7 Reporter: Nils Koenig <nkoenig>
Component: qemu-kvm-rhevAssignee: Paolo Bonzini <pbonzini>
Status: CLOSED ERRATA QA Contact: Yumei Huang <yuhuang>
Severity: high Docs Contact:
Priority: high    
Version: 7.7CC: aarnold, bhull, cbrune, cpelland, jinzhao, juzhang, knoel, lconicel, loberman, mtessun, pbonzini, pchavva, sfroemer, virt-maint, yuhuang
Target Milestone: rcKeywords: FeatureBackport, ZStream
Target Release: 7.8Flags: yuhuang: needinfo-
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-rhev-2.12.0-45.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1801852 1804577 1804579 1804580 (view as bug list) Environment:
Last Closed: 2020-08-03 07:23:25 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: 1791648, 1801852    
Bug Blocks: 1782469, 1804577, 1804579, 1804580    

Description Nils Koenig 2020-01-16 10:27:50 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1791648

Please also backport this feature to RHEL 7.7/7.8.

Comment 5 Paolo Bonzini 2020-02-04 16:55:16 UTC
Upstream patches were accepted.

Comment 18 Yumei Huang 2020-03-19 06:49:29 UTC
Verify:
qemu-kvm-rhev-2.12.0-45.el7
kernel-3.10.0-1129.el7.x86_64 (both host and guest)
microcode_ctl-2.1-61.el7.x86_64

Boot guest with '-cpu host', check if microcode version is same between guest and host.  

On host, 

# grep micro /proc/cpuinfo | uniq
microcode	: 0x500002c


Inside guest, 

# grep micro /proc/cpuinfo | uniq
microcode	: 0x500002c


The microcode version in guest is same to host, so the bug is fixed.

Comment 23 errata-xmlrpc 2020-08-03 07:23:25 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/RHSA-2020:3267