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:
'query-cpus-fast' will return {"arch": "x86"} instead of {"arch": "ppc"}
Version-Release number of selected component (if applicable):
qemu-kvm-2.12.0-81.module+el8.1.0+3619+dfe1ae01.ppc64le
How reproducible:
100%
Steps to Reproduce:
1. Start a qemu process
/usr/libexec/qemu-kvm -qmp tcp:0:4441,server,nowait
2. Use "query-cpus" to check vcpus info
{ "execute": "query-cpus"}
{"return": [{"arch": "ppc", "current": true, "props": {"core-id": 0}, "CPU": 0, "nip": 499006868, "qom_path": "/machine/unattached/device[0]/thread[0]", "halted": false, "thread_id": 103669}]}
3. Use "query-cpus-fast" to check vcpus info
{ "execute": "query-cpus-fast"}
Actual results:
{"return": [{"arch": "x86", "thread-id": 103669, "props": {"core-id": 0}, "qom-path": "/machine/unattached/device[0]/thread[0]", "cpu-index": 0}]}
Expected results:
{"return": [{"arch": "ppc", "thread-id": 12555, "props": {"core-id": 0}, "qom-path": "/machine/unattached/device[0]/thread[0]", "cpu-index": 0, "target": "ppc64"}]}
Additional info:
This issue only occurs on the slow train of RHEL8 (qemu-kvm-2.12.0), which can not be reproduced on qemu-kvm-3.1.0, qemu-kvm-4.0.0 and qemu-kvm-rhev-2.12.0 (RHEL7)
Therefore, set the severity to low and may only need a backport.
(In reply to John Ferlan from comment #5)
> Patch missed the 8.1.0 bug freeze deadline, set ITR to 8.1.1 w/ devel_ack -
> will repost after 8.1.0 ships
Are we doing '.1' for RHEL now?
At least according to the 'rebasing qemu-kvm and libvirt' spreadsheet we won't do rhel-8.1.1 for the virt module.
ITR should be 8.2, AFAIK
I found other bz's for RHEL8 qemu-kvm with an ITR of 8.1.1 but after looking more closely at those, sure 8.2.0 is right. Hard to keep up with all the various release numbers and cross checking against spreadsheet wasn't what I was considering when thinking about this one.
QEMU has been recently split into sub-components and as a one-time operation to avoid breakage of tools, we are setting the QEMU sub-component of this BZ to "General". Please review and change the sub-component if necessary the next time you review this BZ. 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, 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/RHEA-2020:1587
Description of problem: 'query-cpus-fast' will return {"arch": "x86"} instead of {"arch": "ppc"} Version-Release number of selected component (if applicable): qemu-kvm-2.12.0-81.module+el8.1.0+3619+dfe1ae01.ppc64le How reproducible: 100% Steps to Reproduce: 1. Start a qemu process /usr/libexec/qemu-kvm -qmp tcp:0:4441,server,nowait 2. Use "query-cpus" to check vcpus info { "execute": "query-cpus"} {"return": [{"arch": "ppc", "current": true, "props": {"core-id": 0}, "CPU": 0, "nip": 499006868, "qom_path": "/machine/unattached/device[0]/thread[0]", "halted": false, "thread_id": 103669}]} 3. Use "query-cpus-fast" to check vcpus info { "execute": "query-cpus-fast"} Actual results: {"return": [{"arch": "x86", "thread-id": 103669, "props": {"core-id": 0}, "qom-path": "/machine/unattached/device[0]/thread[0]", "cpu-index": 0}]} Expected results: {"return": [{"arch": "ppc", "thread-id": 12555, "props": {"core-id": 0}, "qom-path": "/machine/unattached/device[0]/thread[0]", "cpu-index": 0, "target": "ppc64"}]} Additional info: This issue only occurs on the slow train of RHEL8 (qemu-kvm-2.12.0), which can not be reproduced on qemu-kvm-3.1.0, qemu-kvm-4.0.0 and qemu-kvm-rhev-2.12.0 (RHEL7) Therefore, set the severity to low and may only need a backport.