Bug 868972
| Summary: | CPU topology is missing in capabilities XML when libvirt fails to detect host CPU model | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Chris Pelland <cpelland> |
| Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3 | CC: | acathrow, asegundo, dallan, danken, dougsland, dyasny, dyuan, honzhang, jdenemar, mzhan, pm-eus, rvaknin, rwu, ybronhei, yupzhang |
| Target Milestone: | rc | Keywords: | TestBlocker, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.10-21.el6_3.6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: When libvirt could not find a suitable CPU model for host CPU, it would not provide CPU topology in host capabilities even though the topology was detected correctly.
Consequence: Applications that want to examine host CPU topology but otherwise do not care about CPU model could not see the topology in host capabilities.
Fix: Host capabilities XML now contains host CPU topology even if host CPU model is unknown.
Result: Applications can rely on host CPU topology to always be present in capabilities XML unless detecting the topology itself failed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-22 09:40:03 UTC | Type: | --- |
| 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: | 866999, 876475 | ||
| Bug Blocks: | |||
|
Description
Chris Pelland
2012-10-22 15:27:07 UTC
Sent for review: http://post-office.corp.redhat.com/archives/rhvirt-patches/2012-October/msg01258.html Verified on libvirt-0.9.10-21.el6_3.6.x86_64 (rhel6.3).
The VM's xml given by "virsh capabilities" now contains the cpu topology:
<capabilities>
<host>
<uuid>067f8a8b-5ab3-413c-aa37-945854bf102e</uuid>
<cpu>
<arch>x86_64</arch>
<topology sockets='1' cores='1' threads='1'/>
</cpu>
<power_management>
<suspend_disk/>
</power_management>
<migration_features>
<live/>
<uri_transports>
<uri_transport>tcp</uri_transport>
</uri_transports>
</migration_features>
<topology>
<cells num='1'>
<cell id='0'>
<cpus num='1'>
<cpu id='0'/>
</cpus>
</cell>
</cells>
</topology>
<secmodel>
<model>selinux</model>
<doi>0</doi>
</secmodel>
</host>
</capabilities>
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. http://rhn.redhat.com/errata/RHBA-2012-1484.html |