Changes in v2:
* also support querying flags for a specific arch
* style: fix include ordering in CPU API module
Previously, only the default 'cortex-a57' CPU model would be used
implicitly. Group models and built-in models by architecture, since
that is what (most) use sites are interested in. Note that the 'host'
model only exists if the host arch matches the emulator/vCPU arch.
Some use sites do require a list of all possible ones, e.g. custom
types, because they are not namespaced by arch.
qemu-server:
Fiona Ebner (8):
cpu config: introduce pve-qm-cpu-arch standard option for virtual CPU
architecture
cpu config: guard adding hyperv enlightenments by arch
cpu config: 'hidden' option only applies to vCPUs with x86_64 arch
cpu config: introduce module-wide $host_arch variable
cpu config: support aarch64 CPU models
api: cpu: allow querying CPU models for a given architecture
cpu config: support aarch64 CPU flags
api: cpu flags: allow querying CPU flags for a given architecture
src/PVE/API2/Qemu/CPU.pm | 8 +-
src/PVE/API2/Qemu/CPUFlags.pm | 11 +-
src/PVE/QemuServer.pm | 7 +-
src/PVE/QemuServer/CPUConfig.pm | 453 ++++++++++++++++++--------------
4 files changed, 279 insertions(+), 200 deletions(-)
Summary over all repositories:
4 files changed, 279 insertions(+), 200 deletions(-)
--
Generated by git-murpp 0.5.0