nova/releasenotes/notes/add-perf-event-e1385b6b6346fbda.yaml
Eli Qiao a2d0b8d1b0 Libvirt: Correct PERF_EVENTS_CPU_FLAG_MAPPING
History:

libvirt 1.3.3 had added perf event support for cmt, mbmt, mbml support
when we landing the spec
https://blueprints.launchpad.net/nova/+spec/support-perf-event .

For the event cmt, mbmt, mbml, we requires that libvirt to expose some
some specify cpu features, but libvirt 2.0.0 only has that expose merged
`cpu_map.xml: add cmt/mbm feature to x86 (Qiaowei Ren)`, the capabilities
changed to:

<feature name='mbm_total'/>
<feature name='mbm_local'/>
<feature name='cmt'/>

Need to adopt this to let nova driver discover these features when
enable cmt, mbmt, mbml event.

That is to say: even libvirt 1.3.3 has support perf event, but nova
cannot get noticed since libvirt don't expose cpu features until 2.0.0.

This patch bump MIN_LIBVIRT_PERF_VERSION to 2.0.0, see:
https://libvirt.org/formatdomain.html#elementsPerf

Closes-Bug: #1620445
Change-Id: Ie896cfd478f4528903ca5dd56c61680837b646b7
2016-09-08 10:41:23 +00:00

7 lines
214 B
YAML

---
features:
- Add perf event support for libvirt driver.
This can be done by adding new configure option
'enabled_perf_events' in libvirt section of
nova.conf. This feature requires libvirt>=2.0.0.