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.
DescriptionAndrea Bolognani
2016-08-03 15:56:48 UTC
Running
qemu-kvm -M pseries,accel=kvm -cpu POWER8
used to work, but now fails with
qemu-kvm: Register sync failed... If you're using kvm-hv.ko,
only "-cpu host" is possible
kvm_init_vcpu failed: Invalid argument
This is very problematic, as libvirt guests that follow the
recommended configuration, eg.
<cpu mode='custom' match='exact'>
<model fallback='allow'>POWER8</model>
</cpu>
will no longer boot.
git bisect narrowed this down to upstream commit
commit 3b542549661eb216580e8b7683e13caa3950da45
Author: Bharata B Rao <bharata.ibm.com>
Date: Fri Jun 10 06:29:01 2016 +0530
spapr: Abstract CPU core device and type specific core devices
Add sPAPR specific abastract CPU core device that is based on generic
CPU core device. Use this as base type to create sPAPR CPU specific core
devices.
TODO:
- Add core types for other remaining CPU types
- Handle CPU model alias correctly
Signed-off-by: Bharata B Rao <bharata.ibm.com>
Signed-off-by: David Gibson <david.id.au>
which was recently backported as part of the CPU hotplug
support.
kernel-3.10.0-482.el7.ppc64le
qemu-kvm-rhev-2.6.0-17.el7.ppc64le
Reproduced on qemu-kvm-rhev-2.6.0-17.el7.ppc64le.
# /usr/libexec/qemu-kvm -cpu POWER8
qemu-kvm: Register sync failed... If you're using kvm-hv.ko, only "-cpu host" is possible
kvm_init_vcpu failed: Invalid argument
It used to work according to bug 1291209 comment 9. Setting Regression keywords.
Just a comment to state again that this is not just a cosmetic issue: libvirt depends on the behavior that it is possible to use "-cpu POWER8" on a POWER8E host, too. This behavior has been discussed between libvirt and QEMU folks in the past and it's been decided that it's up to QEMU to take care of the POWER8 version handling here (see the mail thread at https://lists.gnu.org/archive/html/qemu-devel/2015-07/msg02257.html for example). So we need to fix this regression in QEMU.
Comment 4Miroslav Rezanina
2016-08-16 11:23:50 UTC
Reproduce the issue on build qemu-kvm-rhev-2.6.0-17.el7.ppc64le
steps please refer to comments 1
Verified the build on build qemu-kvm-rhev-2.6.0-22.el7.ppc64le
So the bug should be fixed,thanks a lot.
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://rhn.redhat.com/errata/RHBA-2016-2673.html
Running qemu-kvm -M pseries,accel=kvm -cpu POWER8 used to work, but now fails with qemu-kvm: Register sync failed... If you're using kvm-hv.ko, only "-cpu host" is possible kvm_init_vcpu failed: Invalid argument This is very problematic, as libvirt guests that follow the recommended configuration, eg. <cpu mode='custom' match='exact'> <model fallback='allow'>POWER8</model> </cpu> will no longer boot. git bisect narrowed this down to upstream commit commit 3b542549661eb216580e8b7683e13caa3950da45 Author: Bharata B Rao <bharata.ibm.com> Date: Fri Jun 10 06:29:01 2016 +0530 spapr: Abstract CPU core device and type specific core devices Add sPAPR specific abastract CPU core device that is based on generic CPU core device. Use this as base type to create sPAPR CPU specific core devices. TODO: - Add core types for other remaining CPU types - Handle CPU model alias correctly Signed-off-by: Bharata B Rao <bharata.ibm.com> Signed-off-by: David Gibson <david.id.au> which was recently backported as part of the CPU hotplug support. kernel-3.10.0-482.el7.ppc64le qemu-kvm-rhev-2.6.0-17.el7.ppc64le