[PATCH v2 00/25] cpu_map: Add missing -v1 models

Jiri Denemark posted 25 patches 2 weeks, 1 day ago
src/cpu_map/index.xml                         |  22 +++
src/cpu_map/meson.build                       |  38 +++--
src/cpu_map/sync_qemu_models_i386.py          |  30 ++++
src/cpu_map/x86_486-v1.xml                    |   6 +
src/cpu_map/x86_Conroe-v1.xml                 |   6 +
src/cpu_map/x86_EPYC-Genoa-v1.xml             |   6 +
src/cpu_map/x86_KnightsMill-v1.xml            |   6 +
src/cpu_map/x86_Opteron_G1-v1.xml             |   6 +
src/cpu_map/x86_Opteron_G2-v1.xml             |   6 +
src/cpu_map/x86_Opteron_G3-v1.xml             |   6 +
src/cpu_map/x86_Opteron_G4-v1.xml             |   6 +
src/cpu_map/x86_Opteron_G5-v1.xml             |   6 +
src/cpu_map/x86_Penryn-v1.xml                 |   6 +
src/cpu_map/x86_athlon-v1.xml                 |   6 +
src/cpu_map/x86_core2duo-v1.xml               |   6 +
src/cpu_map/x86_coreduo-v1.xml                |   6 +
src/cpu_map/x86_kvm32-v1.xml                  |   6 +
src/cpu_map/x86_kvm64-v1.xml                  |   6 +
src/cpu_map/x86_n270-v1.xml                   |   6 +
src/cpu_map/x86_pentium-v1.xml                |   6 +
src/cpu_map/x86_pentium2-v1.xml               |   6 +
src/cpu_map/x86_pentium3-v1.xml               |   6 +
src/cpu_map/x86_phenom-v1.xml                 |   6 +
src/cpu_map/x86_qemu32-v1.xml                 |   6 +
src/cpu_map/x86_qemu64-v1.xml                 |   6 +
.../x86_64-cpuid-A10-5800K-host.xml           |   2 +-
.../x86_64-cpuid-Atom-D510-host.xml           |   2 +-
.../x86_64-cpuid-Atom-N450-host.xml           |   2 +-
.../x86_64-cpuid-Core2-E6850-host.xml         |   2 +-
.../x86_64-cpuid-Core2-Q9500-host.xml         |   2 +-
.../cputestdata/x86_64-cpuid-FX-8150-host.xml |   2 +-
.../x86_64-cpuid-Opteron-1352-host.xml        |   2 +-
.../x86_64-cpuid-Opteron-2350-host.xml        |   2 +-
.../x86_64-cpuid-Opteron-6234-host.xml        |   2 +-
.../x86_64-cpuid-Opteron-6282-host.xml        |   2 +-
.../x86_64-cpuid-Pentium-P6100-host.xml       |   2 +-
.../x86_64-cpuid-Phenom-B95-host.xml          |   2 +-
.../x86_64-cpuid-Xeon-5110-host.xml           |   2 +-
.../x86_64-cpuid-Xeon-X5460-host.xml          |   2 +-
.../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_5.2.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_6.0.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_6.1.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_6.2.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_7.0.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 105 +++++++++++---
tests/domaincapsdata/qemu_7.1.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  | 100 ++++++++++---
.../qemu_7.2.0-tcg.x86_64+hvf.xml             |  97 ++++++++++---
.../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  |  97 ++++++++++---
tests/domaincapsdata/qemu_7.2.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 100 ++++++++++---
.../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  |  97 ++++++++++---
tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 100 ++++++++++---
.../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  | 132 ++++++++++++++---
.../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 135 +++++++++++++++---
tests/domaincapsdata/qemu_8.1.0.x86_64.xml    | 132 ++++++++++++++---
.../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  | 132 ++++++++++++++---
.../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  | 134 ++++++++++++++---
tests/domaincapsdata/qemu_8.2.0.x86_64.xml    | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  | 133 ++++++++++++++---
tests/domaincapsdata/qemu_9.0.0.x86_64.xml    | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 133 ++++++++++++++---
tests/domaincapsdata/qemu_9.1.0.x86_64.xml    | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  | 132 ++++++++++++++---
.../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 133 ++++++++++++++---
tests/domaincapsdata/qemu_9.2.0.x86_64.xml    | 132 ++++++++++++++---
79 files changed, 3882 insertions(+), 877 deletions(-)
create mode 100644 src/cpu_map/x86_486-v1.xml
create mode 100644 src/cpu_map/x86_Conroe-v1.xml
create mode 100644 src/cpu_map/x86_EPYC-Genoa-v1.xml
create mode 100644 src/cpu_map/x86_KnightsMill-v1.xml
create mode 100644 src/cpu_map/x86_Opteron_G1-v1.xml
create mode 100644 src/cpu_map/x86_Opteron_G2-v1.xml
create mode 100644 src/cpu_map/x86_Opteron_G3-v1.xml
create mode 100644 src/cpu_map/x86_Opteron_G4-v1.xml
create mode 100644 src/cpu_map/x86_Opteron_G5-v1.xml
create mode 100644 src/cpu_map/x86_Penryn-v1.xml
create mode 100644 src/cpu_map/x86_athlon-v1.xml
create mode 100644 src/cpu_map/x86_core2duo-v1.xml
create mode 100644 src/cpu_map/x86_coreduo-v1.xml
create mode 100644 src/cpu_map/x86_kvm32-v1.xml
create mode 100644 src/cpu_map/x86_kvm64-v1.xml
create mode 100644 src/cpu_map/x86_n270-v1.xml
create mode 100644 src/cpu_map/x86_pentium-v1.xml
create mode 100644 src/cpu_map/x86_pentium2-v1.xml
create mode 100644 src/cpu_map/x86_pentium3-v1.xml
create mode 100644 src/cpu_map/x86_phenom-v1.xml
create mode 100644 src/cpu_map/x86_qemu32-v1.xml
create mode 100644 src/cpu_map/x86_qemu64-v1.xml
[PATCH v2 00/25] cpu_map: Add missing -v1 models
Posted by Jiri Denemark 2 weeks, 1 day ago
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

Version 2:
- Add -v1 for all models including ancient ones

Jiri Denemark (25):
  cpu_map: Sort data files in meson.build
  sync_qemu_models_i386: Update meson.build
  sync_qemu_models_i386: Generate missing -v1 variants
  cpu_map: Add 486-v1 CPU model
  cpu_map: Add pentium-v1 CPU model
  cpu_map: Add pentium2-v1 CPU model
  cpu_map: Add pentium3-v1 CPU model
  cpu_map: Add coreduo-v1 CPU model
  cpu_map: Add n270-v1 CPU model
  cpu_map: Add core2duo-v1 CPU model
  cpu_map: Add qemu32-v1 CPU model
  cpu_map: Add kvm32-v1 CPU model
  cpu_map: Add qemu64-v1 CPU model
  cpu_map: Add kvm64-v1 CPU model
  cpu_map: Add Conroe-v1 CPU model
  cpu_map: Add Penryn-v1 CPU model
  cpu_map: Add KnightsMill-v1 CPU model
  cpu_map: Add athlon-v1 CPU model
  cpu_map: Add phenom-v1 CPU model
  cpu_map: Add Opteron_G1-v1 CPU model
  cpu_map: Add Opteron_G2-v1 CPU model
  cpu_map: Add Opteron_G3-v1 CPU model
  cpu_map: Add Opteron_G4-v1 CPU model
  cpu_map: Add Opteron_G5-v1 CPU model
  cpu_map: Add EPYC-Genoa-v1 CPU model

 src/cpu_map/index.xml                         |  22 +++
 src/cpu_map/meson.build                       |  38 +++--
 src/cpu_map/sync_qemu_models_i386.py          |  30 ++++
 src/cpu_map/x86_486-v1.xml                    |   6 +
 src/cpu_map/x86_Conroe-v1.xml                 |   6 +
 src/cpu_map/x86_EPYC-Genoa-v1.xml             |   6 +
 src/cpu_map/x86_KnightsMill-v1.xml            |   6 +
 src/cpu_map/x86_Opteron_G1-v1.xml             |   6 +
 src/cpu_map/x86_Opteron_G2-v1.xml             |   6 +
 src/cpu_map/x86_Opteron_G3-v1.xml             |   6 +
 src/cpu_map/x86_Opteron_G4-v1.xml             |   6 +
 src/cpu_map/x86_Opteron_G5-v1.xml             |   6 +
 src/cpu_map/x86_Penryn-v1.xml                 |   6 +
 src/cpu_map/x86_athlon-v1.xml                 |   6 +
 src/cpu_map/x86_core2duo-v1.xml               |   6 +
 src/cpu_map/x86_coreduo-v1.xml                |   6 +
 src/cpu_map/x86_kvm32-v1.xml                  |   6 +
 src/cpu_map/x86_kvm64-v1.xml                  |   6 +
 src/cpu_map/x86_n270-v1.xml                   |   6 +
 src/cpu_map/x86_pentium-v1.xml                |   6 +
 src/cpu_map/x86_pentium2-v1.xml               |   6 +
 src/cpu_map/x86_pentium3-v1.xml               |   6 +
 src/cpu_map/x86_phenom-v1.xml                 |   6 +
 src/cpu_map/x86_qemu32-v1.xml                 |   6 +
 src/cpu_map/x86_qemu64-v1.xml                 |   6 +
 .../x86_64-cpuid-A10-5800K-host.xml           |   2 +-
 .../x86_64-cpuid-Atom-D510-host.xml           |   2 +-
 .../x86_64-cpuid-Atom-N450-host.xml           |   2 +-
 .../x86_64-cpuid-Core2-E6850-host.xml         |   2 +-
 .../x86_64-cpuid-Core2-Q9500-host.xml         |   2 +-
 .../cputestdata/x86_64-cpuid-FX-8150-host.xml |   2 +-
 .../x86_64-cpuid-Opteron-1352-host.xml        |   2 +-
 .../x86_64-cpuid-Opteron-2350-host.xml        |   2 +-
 .../x86_64-cpuid-Opteron-6234-host.xml        |   2 +-
 .../x86_64-cpuid-Opteron-6282-host.xml        |   2 +-
 .../x86_64-cpuid-Pentium-P6100-host.xml       |   2 +-
 .../x86_64-cpuid-Phenom-B95-host.xml          |   2 +-
 .../x86_64-cpuid-Xeon-5110-host.xml           |   2 +-
 .../x86_64-cpuid-Xeon-X5460-host.xml          |   2 +-
 .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_5.2.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_6.0.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_6.1.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_6.2.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_7.0.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 105 +++++++++++---
 tests/domaincapsdata/qemu_7.1.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  | 100 ++++++++++---
 .../qemu_7.2.0-tcg.x86_64+hvf.xml             |  97 ++++++++++---
 .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  |  97 ++++++++++---
 tests/domaincapsdata/qemu_7.2.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  | 100 ++++++++++---
 .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  |  97 ++++++++++---
 tests/domaincapsdata/qemu_8.0.0.x86_64.xml    | 100 ++++++++++---
 .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  | 132 ++++++++++++++---
 .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 135 +++++++++++++++---
 tests/domaincapsdata/qemu_8.1.0.x86_64.xml    | 132 ++++++++++++++---
 .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  | 132 ++++++++++++++---
 .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  | 134 ++++++++++++++---
 tests/domaincapsdata/qemu_8.2.0.x86_64.xml    | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  | 133 ++++++++++++++---
 tests/domaincapsdata/qemu_9.0.0.x86_64.xml    | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 133 ++++++++++++++---
 tests/domaincapsdata/qemu_9.1.0.x86_64.xml    | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  | 132 ++++++++++++++---
 .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 133 ++++++++++++++---
 tests/domaincapsdata/qemu_9.2.0.x86_64.xml    | 132 ++++++++++++++---
 79 files changed, 3882 insertions(+), 877 deletions(-)
 create mode 100644 src/cpu_map/x86_486-v1.xml
 create mode 100644 src/cpu_map/x86_Conroe-v1.xml
 create mode 100644 src/cpu_map/x86_EPYC-Genoa-v1.xml
 create mode 100644 src/cpu_map/x86_KnightsMill-v1.xml
 create mode 100644 src/cpu_map/x86_Opteron_G1-v1.xml
 create mode 100644 src/cpu_map/x86_Opteron_G2-v1.xml
 create mode 100644 src/cpu_map/x86_Opteron_G3-v1.xml
 create mode 100644 src/cpu_map/x86_Opteron_G4-v1.xml
 create mode 100644 src/cpu_map/x86_Opteron_G5-v1.xml
 create mode 100644 src/cpu_map/x86_Penryn-v1.xml
 create mode 100644 src/cpu_map/x86_athlon-v1.xml
 create mode 100644 src/cpu_map/x86_core2duo-v1.xml
 create mode 100644 src/cpu_map/x86_coreduo-v1.xml
 create mode 100644 src/cpu_map/x86_kvm32-v1.xml
 create mode 100644 src/cpu_map/x86_kvm64-v1.xml
 create mode 100644 src/cpu_map/x86_n270-v1.xml
 create mode 100644 src/cpu_map/x86_pentium-v1.xml
 create mode 100644 src/cpu_map/x86_pentium2-v1.xml
 create mode 100644 src/cpu_map/x86_pentium3-v1.xml
 create mode 100644 src/cpu_map/x86_phenom-v1.xml
 create mode 100644 src/cpu_map/x86_qemu32-v1.xml
 create mode 100644 src/cpu_map/x86_qemu64-v1.xml

-- 
2.47.0
Re: [PATCH v2 00/25] cpu_map: Add missing -v1 models
Posted by Michal Prívozník 1 week, 2 days ago
On 12/5/24 18:30, Jiri Denemark 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
> 
> Version 2:
> - Add -v1 for all models including ancient ones
> 
> Jiri Denemark (25):
>   cpu_map: Sort data files in meson.build
>   sync_qemu_models_i386: Update meson.build
>   sync_qemu_models_i386: Generate missing -v1 variants
>   cpu_map: Add 486-v1 CPU model
>   cpu_map: Add pentium-v1 CPU model
>   cpu_map: Add pentium2-v1 CPU model
>   cpu_map: Add pentium3-v1 CPU model
>   cpu_map: Add coreduo-v1 CPU model
>   cpu_map: Add n270-v1 CPU model
>   cpu_map: Add core2duo-v1 CPU model
>   cpu_map: Add qemu32-v1 CPU model
>   cpu_map: Add kvm32-v1 CPU model
>   cpu_map: Add qemu64-v1 CPU model
>   cpu_map: Add kvm64-v1 CPU model
>   cpu_map: Add Conroe-v1 CPU model
>   cpu_map: Add Penryn-v1 CPU model
>   cpu_map: Add KnightsMill-v1 CPU model
>   cpu_map: Add athlon-v1 CPU model
>   cpu_map: Add phenom-v1 CPU model
>   cpu_map: Add Opteron_G1-v1 CPU model
>   cpu_map: Add Opteron_G2-v1 CPU model
>   cpu_map: Add Opteron_G3-v1 CPU model
>   cpu_map: Add Opteron_G4-v1 CPU model
>   cpu_map: Add Opteron_G5-v1 CPU model
>   cpu_map: Add EPYC-Genoa-v1 CPU model
> 

>  79 files changed, 3882 insertions(+), 877 deletions(-)


Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal