Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1184411
Summary: | <cpu>cortex-a57</cpu> .. libvirt says: Unable to find CPU definition | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libvirt | Assignee: | Andrea Bolognani <abologna> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.1 | CC: | berrange, crobinso, drjones, dyuan, jfeeney, kchamart, lhuang, mzhan, rbalakri, rjones, zpeng |
Target Milestone: | rc | ||
Target Release: | 7.2 | ||
Hardware: | aarch64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-daemon-1.3.5-1.el7.aarch64 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-04 07:45:31 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: | 910269, 1173757, 1175340 |
Description
Richard W.M. Jones
2015-01-21 10:28:32 UTC
I remembered that I came across this bug before. See: https://www.redhat.com/archives/libvirt-users/2014-August/msg00043.html https://www.redhat.com/archives/libvirt-users/2014-August/msg00049.html libguestfs workaround: https://github.com/libguestfs/libguestfs/commit/7e4b7a346a4558a02aeb58f82d518509ce6e5d03 Andrea, please have a look at this one. Thanks. FWIW it's very likely this is already fixed with latest RHEL bits, someone just needs to test it This seems to no longer be a problem with current libvirt. Rich, can you try removing the libguestfs workaround and giving it another go? By the way, I'm very confused about how the libguestfs workaround could work in the first place: the "Unable to find CPU definition" error is coming from qemu-kvm, not libvirt, so it would stand to reason that using <qemu:arg> to add the same '-cpu cortex-a57' option libvirt would add because of <cpu><model>cortex-a57</model></cpu> would lead to the same failure... I tested this by reverting libguestfs commit 7e4b7a346a4558a02ae and using this command against the latest libguestfs sources: $ make quickcheck \ LIBGUESTFS_BACKEND=libvirt LIBGUESTFS_BACKEND_SETTINGS=force_tcg Host libvirt version Result RHEL 7 libvirt-1.2.17-13.el7_2.4.aarch64 Good RHEL 7 libvirt-1.3.5-1.el7.aarch64 Fails b/c bug 1337869 Fedora 24 libvirt-1.3.3.1-2.fc24.aarch64 Good Fedora 24 libvirt-1.3.3.1-3.fc24.aarch64 Good I also checked that the right -cpu flag was being passed. So I think we can declare this bug fixed. It would be nice to get final confirmation with bug 1337869 fixed as well, since I've not been able to use recent versions of libvirt on RHELSA at all. I have also pushed the revert patch to libguestfs upstream (not RHEL however, but will consider it for inclusion in the next round of patches). (In reply to Richard W.M. Jones from comment #7) > I tested this by reverting libguestfs commit 7e4b7a346a4558a02ae and > using this command against the latest libguestfs sources: > > $ make quickcheck \ > LIBGUESTFS_BACKEND=libvirt LIBGUESTFS_BACKEND_SETTINGS=force_tcg > > Host libvirt version Result > > RHEL 7 libvirt-1.2.17-13.el7_2.4.aarch64 Good > RHEL 7 libvirt-1.3.5-1.el7.aarch64 Fails b/c bug 1337869 > Fedora 24 libvirt-1.3.3.1-2.fc24.aarch64 Good > Fedora 24 libvirt-1.3.3.1-3.fc24.aarch64 Good > > I also checked that the right -cpu flag was being passed. > > So I think we can declare this bug fixed. Nice, thanks for trying it out! > It would be nice to > get final confirmation with bug 1337869 fixed as well, since I've > not been able to use recent versions of libvirt on RHELSA at all. Do you want me to prepare a scratch build of libvirt 1.3.5 that includes the two or three commits that have been merged upstream last week to fix Bug 1337869, hence making libvirt usable on RHELSA once again? I guess that wouldn't just be useful for the bug at hand. > I have also pushed the revert patch to libguestfs upstream (not RHEL > however, but will consider it for inclusion in the next round of > patches). Fair enough. Yup, added a comment on the other bug. Great! Moving this one to ON_QA then. |