Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Set pt_mode to 1 on host, boot guest with '-M pc -cpu Icelake-Server,+intel-pt', the error message is
"qemu-kvm: warning: Intel PT need CPUID leaf 0x14, please set by "-cpu ...,+intel-pt,level=0x14": CPUID.07H:EBX.intel-pt [bit 25]",
but actually it should be "min-level" instead of "level".
Version-Release number of selected component (if applicable):
qemu-kvm-4.2.0-25.module+el8.3.0+6986+29a4dcd7
kernel: 4.18.0-215.el8.x86_64
How reproducible:
always
Steps to Reproduce:
1. Set pt_mode = 1 on Icelake host first,
# rmmod kvm_intel
# modprobe kvm_intel pt_mode=1
# cat /sys/module/kvm_intel/parameters/pt_mode
1
2. Boot guest with '-M pc -cpu Icelake-Server,+intel-pt' or '-M pc -cpu Icelake-Server,+intel-pt,level=0x14', hit warning.
Actual results:
qemu-kvm: warning: Intel PT need CPUID leaf 0x14, please set by "-cpu ...,+intel-pt,level=0x14": CPUID.07H:EBX.intel-pt [bit 25]
Expected results:
The warning message should say min-level=0x14 instead of level=0x14.
Additional info:
1. The issue exists in 8.2.1-av as well as test in https://bugzilla.redhat.com/show_bug.cgi?id=1513681#c72.
(In reply to Danilo Cesar Lemes de Paula from comment #3)
> We will only rebase on 8.6.
>
> Should we mark ITR 8.6.0 on this one, so it's clear in which version this is
> supposed to be fixed?
Works for me.
Test Env:
intel-whitley-02.7a2m.lab.eng.bos.redhat.com
qemu-kvm-6.1.0-2.module+el8.6.0+12861+13975d62.x86_64
4.18.0-348.4.el8.x86_64
Test steps:
1. Set pt_mode = 1 on Icelake host first,
# rmmod kvm_intel
# modprobe kvm_intel pt_mode=1
# cat /sys/module/kvm_intel/parameters/pt_mode
1
2. can get right error info once missing 'min-level=0x14'.
# /usr/libexec/qemu-kvm -M pc -cpu Icelake-Server-noTSX,+intel-pt
qemu-kvm: warning: Intel PT need CPUID leaf 0x14, please set by "-cpu ...,intel-pt=on,min-level=0x14": CPUID.07H:EBX.intel-pt [bit 25]
3. can boot qemu successfully with 'min-level=0x14'.
# /usr/libexec/qemu-kvm -M pc -cpu Icelake-Server-noTSX,+intel-pt,min-level=0x14
VNC server running on ::1:5900
Move this bug to verified now, thanks.
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-2022:1759