Bug 1363812
| Summary: | qemu-kvm-rhev: -cpu POWER8 no longer works | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Andrea Bolognani <abologna> |
| Component: | qemu-kvm-rhev | Assignee: | Thomas Huth <thuth> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | jsuchane, juzhang, mdeng, qzhang, thuth, virt-maint |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-rhev-2.6.0-21.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-07 21:28: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: | |||
| Bug Blocks: | 1288337 | ||
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. Fix included in qemu-kvm-rhev-2.6.0-21.el7 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