summaryrefslogtreecommitdiff
path: root/releasenotes/notes/libvirt-cpu-model-extra-flags-a23085f58bd22d27.yaml
blob: 9e69275b2c9efe1ce6a026794f1ef4f63e3efb2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
features:
  - |
    The libvirt driver now allows specifying individual CPU feature
    flags for guests, via a new configuration attribute
    ``[libvirt]/cpu_model_extra_flags`` -- this is valid in combination
    with all the three possible values for ``[libvirt]/cpu_mode``:
    ``custom``, ``host-model``, or ``host-passthrough``.  The
    ``cpu_model_extra_flags`` also allows specifying multiple CPU flags.
    Refer to its documentation in ``nova.conf`` for usage details.

    One of the motivations for this is to alleviate the performance
    degradation (caused as a result of applying the "Meltdown" CVE
    fixes) for guests running with certain Intel-based virtual CPU
    models.  This guest performance impact is reduced by exposing the
    CPU feature flag 'PCID' ("Process-Context ID") to the *guest* CPU,
    assuming that it is available in the physical hardware itself.

    Note that besides ``custom``, Nova's libvirt driver has two other
    CPU modes: ``host-model`` (which is the default), and
    ``host-passthrough``.  Refer to the
    ``[libvirt]/cpu_model_extra_flags`` documentation for what to do
    when you are using either of those CPU modes in context of 'PCID'.