libvirt: Support maxphysaddr.

With Libvirt v8.7.0+, the <maxphysaddr> sub-element
of the <cpu> element specifies the number of vCPU
physical address bits [1].

[1] https://libvirt.org/news.html#v8-7-0-2022-09-01

New flavor extra_specs and image properties are added to
control the physical address bits of vCPUs in Libvirt guests.
The nova-scheduler requests COMPUTE_ADDRESS_SPACE_* traits
based on them. The traits are already defined in os-traits
v2.10.0. Also numerical comparisons are performed at
both compute capabilities filter and image props filter.

blueprint: libvirt-maxphysaddr-support-caracal
Change-Id: I98968f6ef1621c9fb4f682c119038e26d62ce381
Signed-off-by: Nobuhiro MIKI <nmiki@yahoo-corp.jp>
This commit is contained in:
Nobuhiro MIKI
2023-09-15 16:48:18 +09:00
parent 9a9ab2128b
commit 1038a63387
18 changed files with 473 additions and 7 deletions

View File

@@ -0,0 +1,6 @@
---
features:
- |
Added new flavor extra_specs and image properties to control the physical
address bits of vCPUs in Libvirt guests. This option is used to boot a
guest with large RAM.