Tested on this branch with qemu-kvm-9.1.0-5.el9.x86_64:
# for i in $(/usr/libexec/qemu-kvm -cpu help|grep deprecated -v|awk '/Available CPUs/,/Recognized CPUID flags/'|grep '^  '|awk '{print $1}');do if ! virsh cpu-models x86_64|grep -q $i;then echo $i;fi;done
Opteron_G4-v1
Opteron_G5-v1
base
host
max

Opteron_G4-v1 and Opteron_G5-v1 are not deprecated. Expect to add them to libvirt CPU models as well.
On Thu, Nov 28, 2024 at 9:47 PM Jiri Denemark <jdenemar@redhat.com> wrote:
CPU models that do not have a list of versions attached are still
advertised as aliases to corresponding -v1 variants. We should add the
missing variants to the CPU map.

Available on gitlab:

    git fetch https://gitlab.com/jirkade/libvirt.git cpu-versions

Pipeline: https://gitlab.com/jirkade/libvirt/-/pipelines/1564399375

Jiri Denemark (5):
  cpu_map: Sort data files in meson.build
  sync_qemu_models_i386: Update meson.build
  sync_qemu_models_i386: Ignore old models
  sync_qemu_models_i386: Generate missing -v1 variants
  cpu_map: Add missing -v1 models

 src/cpu_map/index.xml                         |  2 +
 src/cpu_map/meson.build                       | 18 +++---
 src/cpu_map/sync_qemu_models_i386.py          | 58 +++++++++++++++++++
 src/cpu_map/x86_EPYC-Genoa-v1.xml             |  6 ++
 src/cpu_map/x86_KnightsMill-v1.xml            |  6 ++
 .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_5.2.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_6.0.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_6.1.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_6.2.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_7.0.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 20 ++++++-
 tests/domaincapsdata/qemu_7.1.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  | 14 ++++-
 .../qemu_7.2.0-tcg.x86_64+hvf.xml             | 16 ++++-
 .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  | 16 ++++-
 tests/domaincapsdata/qemu_7.2.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 14 ++++-
 .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  | 16 ++++-
 tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 14 ++++-
 .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  | 46 ++++++++++++++-
 .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 56 +++++++++++++++++-
 tests/domaincapsdata/qemu_8.1.0.x86_64.xml    | 46 ++++++++++++++-
 .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  | 46 ++++++++++++++-
 .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  | 55 +++++++++++++++++-
 tests/domaincapsdata/qemu_8.2.0.x86_64.xml    | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  | 54 ++++++++++++++++-
 tests/domaincapsdata/qemu_9.0.0.x86_64.xml    | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 54 ++++++++++++++++-
 tests/domaincapsdata/qemu_9.1.0.x86_64.xml    | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  | 46 ++++++++++++++-
 .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 54 ++++++++++++++++-
 tests/domaincapsdata/qemu_9.2.0.x86_64.xml    | 46 ++++++++++++++-
 45 files changed, 1152 insertions(+), 63 deletions(-)
 create mode 100644 src/cpu_map/x86_EPYC-Genoa-v1.xml
 create mode 100644 src/cpu_map/x86_KnightsMill-v1.xml

--
2.47.0