Bug 1259440
Summary: | cpu: Improve error message when using an incompatible model | ||
---|---|---|---|
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: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | hannsj_uhl, juzhang, knoel, michen, mrezanin, qzhang, thuth, virt-maint, xuhan |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64le | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | qemu-2.6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-07 20:36:22 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: | 1359843 |
Description
Andrea Bolognani
2015-09-02 15:28:32 UTC
As largely cosmetic, I'm deferring to 7.3. I've now suggested a patch upstream: https://patchwork.ozlabs.org/patch/584939/ This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Tested this issue with qemu-kvm-rhev-2.6.0-4.el7.ppc64le. The error message which I got was (raised in hw/ppc/spapr.c): # /usr/libexec/qemu-kvm -cpu G2leLS qemu-kvm: Unable to find PowerPC CPU definition but in this case, the expected message is: error_report("Register sync failed... If you're using kvm-hv.ko," " only \"-cpu host\" is possible!"); and I did got it with qemu-kvm-rhev-2.6.0-2.el7.ppc64le. Thomas, would you please help me have a look? Thanks. That's now happening because we've now disabled most of the unusable CPUs from downstream QEMU completely (see BZ 1317977 for more information). So the G2leLS CPU was still available in the 2.6.0-2 build, but unusable. And in the 2.6.0-4 build, it has been disabled completely, thus the different error message. Anyway, you should still be able to see the "Register sync failed..." message when you try to use "-cpu POWER7" on a POWER8 host. (In reply to Thomas Huth from comment #9) > That's now happening because we've now disabled most of the unusable CPUs > from downstream QEMU completely (see BZ 1317977 for more information). So > the G2leLS CPU was still available in the 2.6.0-2 build, but unusable. And > in the 2.6.0-4 build, it has been disabled completely, thus the different > error message. > > Anyway, you should still be able to see the "Register sync failed..." > message when you try to use "-cpu POWER7" on a POWER8 host. Thanks for your explanation. Tested the issue again with following command line: # /usr/libexec/qemu-kvm -cpu POWER7 qemu-kvm: Register sync failed... If you're using kvm-hv.ko, only "-cpu host" is possible kvm_init_vcpu failed: Invalid argument So base on comment 8 and this, this bug has been fixed. 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 |