nova/releasenotes/notes/libvirt-cpu-models-selection-153e734946a7f5cc.yaml
ya.wang f80e5f989d vCPU model selection
Rename the exist config attribute: [libvirt]/cpu_model to
[libvirt]/cpu_models, which is an orderded list of CPU models the host
supports. The value in the list can be made case-insensitive.

Change logic of method: '_get_guest_cpu_model_config', if cpu_mode is
custom and cpu_models set. It will parse the required traits
associated with the CPU flags from flavor extra_specs and select the
most appropriate CPU model.

Add new method 'get_cpu_model_names' to host.py. It will return a list
of the cpu models that the CPU arch can support.

Update the docs of hypervisor-kvm.

Change-Id: I06e1f7429c056c4ce8506b10359762e457dbb2a0
Implements: blueprint cpu-model-selection
2019-09-06 14:01:35 +08:00

13 lines
454 B
YAML

---
features:
- |
It is now possible to specify an ordered list of CPU models in the
``[libvirt] cpu_models`` config option. If ``[libvirt] cpu_mode``
is set to ``custom``, the libvirt driver will select the first
CPU model in this list that can provide the required feature
traits.
upgrades:
- |
The ``[libvirt] cpu_model`` config option has been renamed to
``[libvirt] cpu_models`` and now accepts a list of CPU models.