RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2223947 - [RHEL8.9] qemu core dump with '-cpu host,mpx=off' on Cascadelake host
Summary: [RHEL8.9] qemu core dump with '-cpu host,mpx=off' on Cascadelake host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: qemu-kvm
Version: 8.9
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Ani Sinha
QA Contact: liunana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 11:26 UTC by liunana
Modified: 2023-11-14 16:56 UTC (History)
10 users (show)

Fixed In Version: qemu-kvm-6.2.0-38.module+el8.9.0+19636+489b90af
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-14 15:33:28 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab redhat/rhel/src/qemu-kvm qemu-kvm merge_requests 297 0 None None None 2023-08-09 07:01:12 UTC
Red Hat Issue Tracker RHELPLAN-162814 0 None None None 2023-07-20 06:45:50 UTC
Red Hat Product Errata RHSA-2023:6980 0 None None None 2023-11-14 15:34:08 UTC

Description liunana 2023-07-19 11:26:20 UTC
Description of problem:
qemu core dump with '-cpu host,mpx=off' on Cascadelake host


Version-Release number of selected component (if applicable):
Host:
    kernel-4.18.0-502.el8.x86_64
    qemu-kvm-6.2.0-35.module+el8.9.0+19166+e262ca96.x86_64
    Model name:          Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz


How reproducible: 6/6


Steps to Reproduce:
1. Boot qemu with '-cpu host,mpx=off' 
    # /usr/libexec/qemu-kvm -cpu host,mpx=off
2. 
3.

Actual results:
# /usr/libexec/qemu-kvm -cpu host,mpx=off
qemu-kvm: error: failed to set MSR 0x48f to 0xffefff00036dfb
qemu-kvm: ../target/i386/kvm/kvm.c:2953: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
Aborted (core dumped)

Expected results:
qemu can boot up without error.


Additional info:
Didn't reproduce this issue with qemu8.0 with rhel9 kernel on Cascadelake.

Comment 9 Yanan Fu 2023-08-11 02:41:18 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 10 liunana 2023-08-14 03:11:01 UTC
Test PASS with qemu-kvm-6.2.0-38.module+el8.9.0+19636+489b90af.x86_64.

1.
# /usr/libexec/qemu-kvm -M q35 -cpu host,migratable=on,ss=on,vmx=on,pdcm=on,hypervisor=on,tsc-adjust=on,umip=on,pku=on,md-clear=on,stibp=on,arch-capabilities=on,xsaves=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,rdctl-no=on,ibrs-all=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on,tsx-ctrl=on,hle=on,rtm=on,invtsc=on,rdtscp=on,x2apic=on,mpx=off,tsc-frequency=2494140000,hv-vapic=on,hv-spinlocks=0x1000,l3-cache=on,host-cache-info=off
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
VNC server running on ::1:5900


2.
# /usr/libexec/qemu-kvm -cpu Cascadelake-Server,mpx=off
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.hle [bit 4]
qemu-kvm: warning: host doesn't support requested feature: CPUID.07H:EBX.rtm [bit 11]
VNC server running on ::1:5900


3.
# /usr/libexec/qemu-kvm -cpu host,mpx=off
VNC server running on ::1:5900


Move this bug to verified now.

Comment 12 errata-xmlrpc 2023-11-14 15:33:28 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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement update), 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-2023:6980


Note You need to log in before you can comment on or make changes to this bug.