Before, it was often forgotten to pick up new QEMU CPU models and
hard-coding the information in Perl is also not the cleanest way to do
it.

Generate a list of supported models during build of the pve-qemu-kvm
and use that instead. The build will fail when any changes appear, so
they are not missed and can be adapted to.

The qemu-server patch requires the following series by Dominik to be
applied:
https://lore.proxmox.com/pve-devel/[email protected]/T/

qemu:

Fiona Ebner (1):
  generate and ship static list of CPU models

 debian/cpu-models-aarch64.json |   1 +
 debian/cpu-models-x86_64.json  |   1 +
 debian/parse-cpu-models.pl     | 121 +++++++++++++++++++++++++++++++++
 debian/rules                   |  12 ++++
 4 files changed, 135 insertions(+)
 create mode 100644 debian/cpu-models-aarch64.json
 create mode 100644 debian/cpu-models-x86_64.json
 create mode 100755 debian/parse-cpu-models.pl


qemu-server:

Fiona Ebner (1):
  cpu config: use static CPU model list shipped by QEMU package if
    available

 src/PVE/QemuServer/CPUConfig.pm | 237 +++++++++++++++++---------------
 1 file changed, 126 insertions(+), 111 deletions(-)


Summary over all repositories:
  5 files changed, 261 insertions(+), 111 deletions(-)

-- 
Generated by git-murpp 0.5.0



Reply via email to