Hi Jiri,
I patched these patches to v10.9.0-159-ge9b8be23f7 then built and installed
the rpms. After that, I hit an error when start a domain with host-model
cpu:

Version:
libvirt v10.9.0-159-ge9b8be23f7 with this patch series
qemu-kvm-9.1.0-5.el9.x86_64
host CPU: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz

Here is how I build it:
# curl
https://patchew.org/Libvirt/cover.1732311125.git.jdene...@redhat.com/mbox
-o /tmp/mbox && git am /tmp/mbox
# meson build
# meson dist -C build --no-tests
# cp build/libvirt.spec ~/rpmbuild/SPECS
# cp build/meson-dist/libvirt-10.10.0.tar.xz ~/rpmbuild/SOURCES
# rpmbuild -ba ~/rpmbuild/SPECS/libvirt.spec --nocheck
# dnf update ~/rpmbuild/RPMS/x86_64/libvirt*10.10.0-1* -y

Then start a domain with host-model cpu:
➜  ~ virsh start rhel10-sebios


error: Failed to start domain 'rhel10-sebios'
error: XML error: failed to parse xml document
'/usr/share/libvirt/cpu_map/x86_Denverton.xml

For the virtqemud.log and the guest XML. Please check it in the attachment.

On Sat, Nov 23, 2024 at 5:34 AM Jiri Denemark <jdene...@redhat.com> wrote:

> Each CPU model with -v* suffix is defined as a standalone model copying
> all attributes of the previous version although CPU model versions with
> an alias are handled differently. The full definition is used for the
> alias and the versioned model is created as an identical copy of the
> alias.
>
> To avoid breaking migration compatibility of host-model CPUs all
> versioned models are marked with <decode guest='off'/> so that they are
> ignored when selecting candidates for host-model. It's not ideal but not
> doing so would break almost all host-model CPUs as the new versioned CPU
> models have all vmx-* features included since their introduction while
> existing CPU models were updated later. This meas existing models would
> be accompanied with a long list of vmx-* features to properly describe a
> host CPU while the newly added CPU models would have those features
> enabled implicitly and their list of features would be significantly
> shorter. Thus the new models would always be better candidates for
> host-model than the existing models.
>
>
> Version 2:
>   - removed patches
>     - cpu_x86: Copy added and removed features from ancestor
>     - qemu: Canonicalize CPU models
>
>   - new patches
>     - cpu_x86: Annotate virCPUx86Model fields
>     - cpu_x86: Promote added/removed from ancestor
>     - cpu_x86: Record relations between CPU models
>     - cpu: Introduce virCPUGetCanonicalModel
>     - domain_capabilities: Report canonical names of CPU models
>     - cpu_map: Add Denverton CPU model
>     - cpu_map: Add KnightsMill CPU model
>
>   - make -v? variants linked to their corresponding non-versioned models
>     (such as -noTSX, -IBRS, etc.)
>   - all -v? variants are marked with <decode host='on' guest='off'/>
>   - do not add absolute path to CPU model XMLs to index.xml
>   - use <group name='...'> for all groups rather than a strange mix of
>     <group name='...'> and <group vendor='...'>
>
>
> Jiri Denemark (36):
>   cpu_x86: Annotate virCPUx86Model fields
>   cpu_x86: Promote added/removed from ancestor
>   sync_qemu_features_i386: Add some removed features back
>   sync_qemu_models_i386: Use f-strings
>   sync_qemu_models_i386: Do not overwrite existing models
>   sync_qemu_models_i386: Do not require full path to QEMU's cpu.c
>   sync_qemu_models_i386: Add support for versioned CPU models
>   sync_qemu_models_i386: Store extra info in a separate file
>   sync_qemu_models_i386: Switch to lxml
>   cpu_map: Properly group models in index.xml
>   sync_qemu_models_i386: Update index.xml
>   sync_qemu_models_i386: Copy signatures from base model
>   cpu_x86: Record relations between CPU models
>   cpu: Introduce virCPUGetCanonicalModel
>   domain_capabilities: Report canonical names of CPU models
>   cpu_map: Add versions of SierraForest CPU model
>   cpu_map: Add versions of GraniteRapids CPU model
>   cpu_map: Add versions of SapphireRapids CPU model
>   cpu_map: Add versions of Snowridge CPU model
>   cpu_map: Add versions of Cooperlake CPU model
>   cpu_map: Add versions of Icelake-Server CPU model
>   cpu_map: Add versions of Cascadelake-Server CPU model
>   cpu_map: Add versions of Skylake-Server CPU model
>   cpu_map: Add versions of Skylake-Client CPU model
>   cpu_map: Add versions of Broadwell CPU model
>   cpu_map: Add versions of Haswell CPU model
>   cpu_map: Add versions of IvyBridge CPU model
>   cpu_map: Add versions of SandyBridge CPU model
>   cpu_map: Add versions of Westmere CPU model
>   cpu_map: Add versions of Nehalem CPU model
>   cpu_map: Add versions of EPYC-Milan CPU model
>   cpu_map: Add versions of EPYC-Rome CPU model
>   cpu_map: Add versions of EPYC CPU model
>   cpu_map: Add versions of Dhyana CPU model
>   cpu_map: Add Denverton CPU model
>   cpu_map: Add KnightsMill CPU model
>
>  docs/formatdomaincaps.rst                     |    8 +-
>  src/conf/domain_capabilities.c                |   11 +-
>  src/conf/domain_capabilities.h                |    4 +-
>  src/cpu/cpu.c                                 |   25 +
>  src/cpu/cpu.h                                 |    8 +
>  src/cpu/cpu_map.c                             |    2 +-
>  src/cpu/cpu_x86.c                             |   88 +-
>  src/cpu_map/index.xml                         |  291 ++--
>  src/cpu_map/meson.build                       |   60 +
>  src/cpu_map/sync_qemu_features_i386.py        |    3 +
>  src/cpu_map/sync_qemu_models_i386.py          |  184 +-
>  src/cpu_map/x86_Broadwell-v1.xml              |    6 +
>  src/cpu_map/x86_Broadwell-v2.xml              |    6 +
>  src/cpu_map/x86_Broadwell-v3.xml              |    6 +
>  src/cpu_map/x86_Broadwell-v4.xml              |    6 +
>  src/cpu_map/x86_Cascadelake-Server-v1.xml     |    6 +
>  src/cpu_map/x86_Cascadelake-Server-v2.xml     |  157 ++
>  src/cpu_map/x86_Cascadelake-Server-v3.xml     |    6 +
>  src/cpu_map/x86_Cascadelake-Server-v4.xml     |  156 ++
>  src/cpu_map/x86_Cascadelake-Server-v5.xml     |  158 ++
>  src/cpu_map/x86_Cooperlake-v1.xml             |    6 +
>  src/cpu_map/x86_Cooperlake-v2.xml             |  164 ++
>  src/cpu_map/x86_Denverton-v1.xml              |    6 +
>  src/cpu_map/x86_Denverton-v2.xml              |  137 ++
>  src/cpu_map/x86_Denverton-v3.xml              |  139 ++
>  src/cpu_map/x86_Denverton.xml                 |  138 ++
>  src/cpu_map/x86_Dhyana-v1.xml                 |    6 +
>  src/cpu_map/x86_Dhyana-v2.xml                 |   73 +
>  src/cpu_map/x86_EPYC-Milan-v1.xml             |    6 +
>  src/cpu_map/x86_EPYC-Milan-v2.xml             |   99 ++
>  src/cpu_map/x86_EPYC-Rome-v1.xml              |    6 +
>  src/cpu_map/x86_EPYC-Rome-v2.xml              |   86 +
>  src/cpu_map/x86_EPYC-Rome-v3.xml              |   86 +
>  src/cpu_map/x86_EPYC-Rome-v4.xml              |   85 +
>  src/cpu_map/x86_EPYC-v1.xml                   |    6 +
>  src/cpu_map/x86_EPYC-v2.xml                   |    6 +
>  src/cpu_map/x86_EPYC-v3.xml                   |   79 +
>  src/cpu_map/x86_EPYC-v4.xml                   |   79 +
>  src/cpu_map/x86_GraniteRapids-v1.xml          |    6 +
>  src/cpu_map/x86_Haswell-v1.xml                |    6 +
>  src/cpu_map/x86_Haswell-v2.xml                |    6 +
>  src/cpu_map/x86_Haswell-v3.xml                |    6 +
>  src/cpu_map/x86_Haswell-v4.xml                |    6 +
>  src/cpu_map/x86_Icelake-Server-v1.xml         |    6 +
>  src/cpu_map/x86_Icelake-Server-v2.xml         |    6 +
>  src/cpu_map/x86_Icelake-Server-v3.xml         |  165 ++
>  src/cpu_map/x86_Icelake-Server-v4.xml         |  172 ++
>  src/cpu_map/x86_Icelake-Server-v5.xml         |  174 ++
>  src/cpu_map/x86_Icelake-Server-v6.xml         |  175 ++
>  src/cpu_map/x86_Icelake-Server-v7.xml         |  177 ++
>  src/cpu_map/x86_IvyBridge-v1.xml              |    6 +
>  src/cpu_map/x86_IvyBridge-v2.xml              |    6 +
>  src/cpu_map/x86_KnightsMill.xml               |   71 +
>  src/cpu_map/x86_Nehalem-v1.xml                |    6 +
>  src/cpu_map/x86_Nehalem-v2.xml                |    6 +
>  src/cpu_map/x86_SandyBridge-v1.xml            |    6 +
>  src/cpu_map/x86_SandyBridge-v2.xml            |    6 +
>  src/cpu_map/x86_SapphireRapids-v1.xml         |    6 +
>  src/cpu_map/x86_SapphireRapids-v2.xml         |  193 +++
>  src/cpu_map/x86_SapphireRapids-v3.xml         |  198 +++
>  src/cpu_map/x86_SierraForest-v1.xml           |    6 +
>  src/cpu_map/x86_Skylake-Client-v1.xml         |    6 +
>  src/cpu_map/x86_Skylake-Client-v2.xml         |    6 +
>  src/cpu_map/x86_Skylake-Client-v3.xml         |    6 +
>  src/cpu_map/x86_Skylake-Client-v4.xml         |  141 ++
>  src/cpu_map/x86_Skylake-Server-v1.xml         |    6 +
>  src/cpu_map/x86_Skylake-Server-v2.xml         |    6 +
>  src/cpu_map/x86_Skylake-Server-v3.xml         |    6 +
>  src/cpu_map/x86_Skylake-Server-v4.xml         |  148 ++
>  src/cpu_map/x86_Skylake-Server-v5.xml         |  150 ++
>  src/cpu_map/x86_Snowridge-v1.xml              |    6 +
>  src/cpu_map/x86_Snowridge-v2.xml              |  143 ++
>  src/cpu_map/x86_Snowridge-v3.xml              |  145 ++
>  src/cpu_map/x86_Snowridge-v4.xml              |  143 ++
>  src/cpu_map/x86_Westmere-v1.xml               |    6 +
>  src/cpu_map/x86_Westmere-v2.xml               |    6 +
>  src/libvirt_private.syms                      |    1 +
>  src/qemu/qemu_capabilities.c                  |   10 +-
>  tests/cputest.c                               |    5 +-
>  .../x86_64-cpuid-Atom-P5362-host.xml          |    2 +-
>  .../x86_64-cpuid-Cooperlake-host.xml          |    2 +-
>  .../x86_64-cpuid-Core-i5-2500-host.xml        |    2 +-
>  .../x86_64-cpuid-Core-i5-2540M-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i5-4670T-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i5-650-host.xml         |    2 +-
>  .../x86_64-cpuid-Core-i5-6600-host.xml        |    2 +-
>  .../x86_64-cpuid-Core-i7-2600-host.xml        |    2 +-
>  ...86_64-cpuid-Core-i7-2600-xsaveopt-host.xml |    2 +-
>  .../x86_64-cpuid-Core-i7-3520M-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-3740QM-host.xml      |    2 +-
>  .../x86_64-cpuid-Core-i7-3770-host.xml        |    2 +-
>  .../x86_64-cpuid-Core-i7-4510U-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-4600U-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-5600U-arat-host.xml  |    2 +-
>  .../x86_64-cpuid-Core-i7-5600U-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-5600U-ibrs-host.xml  |    2 +-
>  .../x86_64-cpuid-Core-i7-7600U-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-7700-host.xml        |    2 +-
>  .../x86_64-cpuid-Core-i7-8550U-host.xml       |    2 +-
>  .../x86_64-cpuid-Core-i7-8700-host.xml        |    2 +-
>  .../x86_64-cpuid-EPYC-7502-32-Core-host.xml   |    5 +-
>  .../x86_64-cpuid-EPYC-7601-32-Core-host.xml   |    2 +-
>  ...6_64-cpuid-EPYC-7601-32-Core-ibpb-host.xml |    8 +-
>  ...6_64-cpuid-Hygon-C86-7185-32-core-host.xml |    5 +-
>  .../x86_64-cpuid-Ice-Lake-Server-host.xml     |    2 +-
>  ...64-cpuid-Ryzen-7-1800X-Eight-Core-host.xml |    2 +-
>  ...86_64-cpuid-Ryzen-9-3900X-12-Core-host.xml |    2 +-
>  .../x86_64-cpuid-Xeon-E3-1225-v5-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E3-1245-v5-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2609-v3-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2623-v4-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2630-v3-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2630-v4-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2650-host.xml        |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2650-v3-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E5-2650-v4-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E7-4820-host.xml        |    2 +-
>  .../x86_64-cpuid-Xeon-E7-4830-host.xml        |    2 +-
>  .../x86_64-cpuid-Xeon-E7-8890-v3-host.xml     |    2 +-
>  .../x86_64-cpuid-Xeon-E7540-host.xml          |    2 +-
>  .../x86_64-cpuid-Xeon-Gold-5115-host.xml      |    2 +-
>  .../x86_64-cpuid-Xeon-Gold-6130-host.xml      |    2 +-
>  .../x86_64-cpuid-Xeon-Gold-6148-host.xml      |    2 +-
>  .../x86_64-cpuid-Xeon-Platinum-8268-host.xml  |    2 +-
>  .../x86_64-cpuid-Xeon-Platinum-9242-host.xml  |    2 +-
>  .../x86_64-cpuid-Xeon-W3520-host.xml          |    2 +-
>  .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  462 ++++-
>  .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  836 +++++++++-
>  tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  462 ++++-
>  .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  477 +++++-
>  .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  896 +++++++++-
>  tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  477 +++++-
>  .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  576 ++++++-
>  .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  | 1458 +++++++++++++---
>  tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  576 ++++++-
>  .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |  583 ++++++-
>  .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  | 1461 +++++++++++++---
>  tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |  583 ++++++-
>  .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  |  609 ++++++-
>  .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  | 1485 ++++++++++++++---
>  tests/domaincapsdata/qemu_7.0.0.x86_64.xml    |  609 ++++++-
>  .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  |  609 ++++++-
>  .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  | 1425 +++++++++++++---
>  tests/domaincapsdata/qemu_7.1.0.x86_64.xml    |  609 ++++++-
>  .../domaincapsdata/qemu_7.2.0-q35.x86_64.xml  |  609 ++++++-
>  .../qemu_7.2.0-tcg.x86_64+hvf.xml             |  979 ++++++++++-
>  .../domaincapsdata/qemu_7.2.0-tcg.x86_64.xml  |  979 ++++++++++-
>  tests/domaincapsdata/qemu_7.2.0.x86_64.xml    |  609 ++++++-
>  .../domaincapsdata/qemu_8.0.0-q35.x86_64.xml  |  652 +++++++-
>  .../domaincapsdata/qemu_8.0.0-tcg.x86_64.xml  | 1015 ++++++++++-
>  tests/domaincapsdata/qemu_8.0.0.x86_64.xml    |  652 +++++++-
>  .../domaincapsdata/qemu_8.1.0-q35.x86_64.xml  |  815 ++++++++-
>  .../domaincapsdata/qemu_8.1.0-tcg.x86_64.xml  | 1063 +++++++++++-
>  tests/domaincapsdata/qemu_8.1.0.x86_64.xml    |  815 ++++++++-
>  .../domaincapsdata/qemu_8.2.0-q35.x86_64.xml  |  815 ++++++++-
>  .../domaincapsdata/qemu_8.2.0-tcg.x86_64.xml  |  959 ++++++++++-
>  tests/domaincapsdata/qemu_8.2.0.x86_64.xml    |  815 ++++++++-
>  .../domaincapsdata/qemu_9.0.0-q35.x86_64.xml  |  815 ++++++++-
>  .../domaincapsdata/qemu_9.0.0-tcg.x86_64.xml  |  915 +++++++++-
>  tests/domaincapsdata/qemu_9.0.0.x86_64.xml    |  815 ++++++++-
>  .../domaincapsdata/qemu_9.1.0-q35.x86_64.xml  |  922 +++++++++-
>  .../domaincapsdata/qemu_9.1.0-tcg.x86_64.xml  | 1139 +++++++++++--
>  tests/domaincapsdata/qemu_9.1.0.x86_64.xml    |  922 +++++++++-
>  .../domaincapsdata/qemu_9.2.0-q35.x86_64.xml  |  922 +++++++++-
>  .../domaincapsdata/qemu_9.2.0-tcg.x86_64.xml  | 1139 +++++++++++--
>  tests/domaincapsdata/qemu_9.2.0.x86_64.xml    |  922 +++++++++-
>  166 files changed, 35711 insertions(+), 2629 deletions(-)
>  create mode 100644 src/cpu_map/x86_Broadwell-v1.xml
>  create mode 100644 src/cpu_map/x86_Broadwell-v2.xml
>  create mode 100644 src/cpu_map/x86_Broadwell-v3.xml
>  create mode 100644 src/cpu_map/x86_Broadwell-v4.xml
>  create mode 100644 src/cpu_map/x86_Cascadelake-Server-v1.xml
>  create mode 100644 src/cpu_map/x86_Cascadelake-Server-v2.xml
>  create mode 100644 src/cpu_map/x86_Cascadelake-Server-v3.xml
>  create mode 100644 src/cpu_map/x86_Cascadelake-Server-v4.xml
>  create mode 100644 src/cpu_map/x86_Cascadelake-Server-v5.xml
>  create mode 100644 src/cpu_map/x86_Cooperlake-v1.xml
>  create mode 100644 src/cpu_map/x86_Cooperlake-v2.xml
>  create mode 100644 src/cpu_map/x86_Denverton-v1.xml
>  create mode 100644 src/cpu_map/x86_Denverton-v2.xml
>  create mode 100644 src/cpu_map/x86_Denverton-v3.xml
>  create mode 100644 src/cpu_map/x86_Denverton.xml
>  create mode 100644 src/cpu_map/x86_Dhyana-v1.xml
>  create mode 100644 src/cpu_map/x86_Dhyana-v2.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Milan-v1.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Milan-v2.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Rome-v1.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Rome-v2.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Rome-v3.xml
>  create mode 100644 src/cpu_map/x86_EPYC-Rome-v4.xml
>  create mode 100644 src/cpu_map/x86_EPYC-v1.xml
>  create mode 100644 src/cpu_map/x86_EPYC-v2.xml
>  create mode 100644 src/cpu_map/x86_EPYC-v3.xml
>  create mode 100644 src/cpu_map/x86_EPYC-v4.xml
>  create mode 100644 src/cpu_map/x86_GraniteRapids-v1.xml
>  create mode 100644 src/cpu_map/x86_Haswell-v1.xml
>  create mode 100644 src/cpu_map/x86_Haswell-v2.xml
>  create mode 100644 src/cpu_map/x86_Haswell-v3.xml
>  create mode 100644 src/cpu_map/x86_Haswell-v4.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v1.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v2.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v3.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v4.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v5.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v6.xml
>  create mode 100644 src/cpu_map/x86_Icelake-Server-v7.xml
>  create mode 100644 src/cpu_map/x86_IvyBridge-v1.xml
>  create mode 100644 src/cpu_map/x86_IvyBridge-v2.xml
>  create mode 100644 src/cpu_map/x86_KnightsMill.xml
>  create mode 100644 src/cpu_map/x86_Nehalem-v1.xml
>  create mode 100644 src/cpu_map/x86_Nehalem-v2.xml
>  create mode 100644 src/cpu_map/x86_SandyBridge-v1.xml
>  create mode 100644 src/cpu_map/x86_SandyBridge-v2.xml
>  create mode 100644 src/cpu_map/x86_SapphireRapids-v1.xml
>  create mode 100644 src/cpu_map/x86_SapphireRapids-v2.xml
>  create mode 100644 src/cpu_map/x86_SapphireRapids-v3.xml
>  create mode 100644 src/cpu_map/x86_SierraForest-v1.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Client-v1.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Client-v2.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Client-v3.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Client-v4.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Server-v1.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Server-v2.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Server-v3.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Server-v4.xml
>  create mode 100644 src/cpu_map/x86_Skylake-Server-v5.xml
>  create mode 100644 src/cpu_map/x86_Snowridge-v1.xml
>  create mode 100644 src/cpu_map/x86_Snowridge-v2.xml
>  create mode 100644 src/cpu_map/x86_Snowridge-v3.xml
>  create mode 100644 src/cpu_map/x86_Snowridge-v4.xml
>  create mode 100644 src/cpu_map/x86_Westmere-v1.xml
>  create mode 100644 src/cpu_map/x86_Westmere-v2.xml
>
> --
> 2.47.0
>
>
^N2024-11-26 06:25:13.717+0000: 209103: debug : virThreadJobSet:93 : Thread 209103 (rpc-virtqemud) is now running job remoteDispatchAuthList                                                               
2024-11-26 06:25:13.717+0000: 209103: debug : virThreadJobClear:118 : Thread 209103 (rpc-virtqemud) finished job remoteDispatchAuthList with ret=0        
2024-11-26 06:25:13.717+0000: 209105: debug : virThreadJobSet:93 : Thread 209105 (rpc-virtqemud) is now running job remoteDispatchConnectSupportsFeature              
2024-11-26 06:25:13.717+0000: 209105: debug : virThreadJobClear:118 : Thread 209105 (rpc-virtqemud) finished job remoteDispatchConnectSupportsFeature with ret=0                                           
2024-11-26 06:25:13.717+0000: 209110: debug : virThreadJobSet:93 : Thread 209110 (prio-rpc-virtqemud) is now running job remoteDispatchConnectOpen     
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenAuth:1281 : name=, auth=(nil), flags=0x0                                                                                                       
2024-11-26 06:25:13.717+0000: 209110: debug : virConfLoadConfig:1522 : Loading config file '/etc/libvirt/libvirt.conf'                                          
2024-11-26 06:25:13.717+0000: 209110: debug : virConfReadFile:731 : filename=/etc/libvirt/libvirt.conf                                                       
2024-11-26 06:25:13.717+0000: 209110: debug : virConfGetValueString:873 : Get value string (nil) 0                                                                                                         
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:937 : Trying to probe for default URI                                                                                                 
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:942 : QEMU driver URI probe returned 'qemu:///system'                                                                                 
2024-11-26 06:25:13.717+0000: 209110: debug : virConfGetValueStringList:921 : Get value string list (nil) 0                                                                                                
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:970 : Split "qemu:///system" to URI components:                                                                                       
  scheme qemu                                                                                                                                                                                                                    
  server <null>                                                                                                                                                                                            
  user <null>                                                                                                                                                                                                                    
  port 0                                                                                                                                                                                                   
  path /system                                                                                                                                                                                                                   
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1076 : trying driver 0 (Test) ...                                                                                                     
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1098 : Checking for supported URI schemes                                                       
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1107 : No matching URI scheme                                                                                                         
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1076 : trying driver 1 (ESX) ...                                                                                                      
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1098 : Checking for supported URI schemes                                                                                             
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1107 : No matching URI scheme                                                                                                         
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1076 : trying driver 2 (remote) ...                                                                                                   
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1115 : Matching any URI scheme for 'qemu'                                                   
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1141 : driver 2 remote returned DECLINED                                                                                              
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1076 : trying driver 3 (QEMU) ...                                                                                                                           
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1098 : Checking for supported URI schemes                                                                                                                                                                                    
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1101 : Matched URI scheme 'qemu'                                                                                                                            
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectOpenInternal:1141 : driver 3 QEMU returned SUCCESS                                                                                                                       
2024-11-26 06:25:13.717+0000: 209110: debug : virConnectGetType:163 : conn=0x7fe98c015c90                                                                                                                                        
2024-11-26 06:25:13.717+0000: 209110: debug : virThreadJobClear:118 : Thread 209110 (prio-rpc-virtqemud) finished job remoteDispatchConnectOpen with ret=0                                                                       
2024-11-26 06:25:13.718+0000: 209102: debug : virThreadJobSet:93 : Thread 209102 (rpc-virtqemud) is now running job remoteDispatchConnectGetURI                                                                                                                                                   
2024-11-26 06:25:13.718+0000: 209102: debug : virConnectGetURI:314 : conn=0x7fe98c015c90                                                                                                                                         
2024-11-26 06:25:13.718+0000: 209102: debug : virThreadJobClear:118 : Thread 209102 (rpc-virtqemud) finished job remoteDispatchConnectGetURI with ret=0                                                                                                                                           
2024-11-26 06:25:13.718+0000: 209104: debug : virThreadJobSet:93 : Thread 209104 (rpc-virtqemud) is now running job remoteDispatchConnectSupportsFeature                                                                                                                                          
2024-11-26 06:25:13.718+0000: 209104: debug : virThreadJobClear:118 : Thread 209104 (rpc-virtqemud) finished job remoteDispatchConnectSupportsFeature with ret=0                                                                                                                                  
2024-11-26 06:25:13.718+0000: 209106: debug : virThreadJobSet:93 : Thread 209106 (prio-rpc-virtqemud) is now running job remoteDispatchConnectSupportsFeature                                                                                                                                     
2024-11-26 06:25:13.718+0000: 209106: debug : virThreadJobClear:118 : Thread 209106 (prio-rpc-virtqemud) finished job remoteDispatchConnectSupportsFeature with ret=0                                                                                                                             
2024-11-26 06:25:13.728+0000: 209105: debug : virThreadJobSet:93 : Thread 209105 (rpc-virtqemud) is now running job remoteDispatchConnectRegisterCloseCallback                                                                                                                                    
2024-11-26 06:25:13.728+0000: 209105: debug : virConnectRegisterCloseCallback:1499 : conn=0x7fe98c015c90                                                                                                                                                                                          
2024-11-26 06:25:13.728+0000: 209105: debug : virThreadJobClear:118 : Thread 209105 (rpc-virtqemud) finished job remoteDispatchConnectRegisterCloseCallback with ret=0                                                                                                                            
2024-11-26 06:25:13.728+0000: 209110: debug : virThreadJobSet:93 : Thread 209110 (prio-rpc-virtqemud) is now running job remoteDispatchDomainLookupByName                                                                                                                                                                                         
2024-11-26 06:25:13.728+0000: 209110: debug : virDomainLookupByName:449 : conn=0x7fe98c015c90, name=rhel10-sebios                                                                                                                                                                                 
2024-11-26 06:25:13.728+0000: 209110: debug : virThreadJobClear:118 : Thread 209110 (prio-rpc-virtqemud) finished job remoteDispatchDomainLookupByName with ret=0         
2024-11-26 06:25:13.729+0000: 209102: debug : virThreadJobSet:93 : Thread 209102 (rpc-virtqemud) is now running job remoteDispatchDomainCreate                            
2024-11-26 06:25:13.729+0000: 209102: debug : virDomainCreate:7068 : dom=0x7fe9d0004e40, (VM: name=rhel10-sebios, uuid=e991dde7-be8b-4edc-8f99-405699034270)              
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessStart:8276 : conn=0x7fe98c015c90 driver=0x7fe98c0233f0 vm=0x7fe98c14bcd0 name=rhel10-sebios id=-1 asyncJob=start migrateFrom=<null> migrateFd=-1 migratePath=<null> snapshot=(nil) vmop=0 flags=0x1                                                                                      
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessInit:5764 : vm=0x7fe98c14bcd0 name=rhel10-sebios id=-1 migration=0                                               
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessInit:5767 : Beginning VM startup process                                                                                                                                                                                                                                                 
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessInit:5785 : Determining emulator version                                                                                                                                                                                                                                                 
2024-11-26 06:25:13.729+0000: 209102: debug : virArchFromHost:236 : Mapped x86_64 to 35 (x86_64)                                                                                                                                                                                                                                                  
2024-11-26 06:25:13.729+0000: 209102: debug : virQEMUCapsCacheLookup:5941 : Returning caps 0x7fe98c0b9250 for /usr/libexec/qemu-kvm                                                                                                                                                                                                               
2024-11-26 06:25:13.729+0000: 209102: debug : qemuDomainUpdateCPU:9388 : Replacing CPU definition                                                                                                                                                                                                                                                 
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessStartValidate:5594 : Checking for KVM availability                                                                                                                                                                                                                                       
2024-11-26 06:25:13.729+0000: 209102: debug : qemuProcessStartValidate:5602 : Checking domain and device security labels                                                                                                                                                                                                                          
2024-11-26 06:25:13.729+0000: 209102: debug : virThreadJobClear:118 : Thread 209102 (rpc-virtqemud) finished job remoteDispatchDomainCreate with ret=-1                                                                                                                                                                                           
2024-11-26 06:25:13.730+0000: 209107: debug : virThreadJobSet:93 : Thread 209107 (prio-rpc-virtqemud) is now running job remoteDispatchConnectUnregisterCloseCallback     
2024-11-26 06:25:13.730+0000: 209107: debug : virConnectUnregisterCloseCallback:1536 : conn=0x7fe98c015c90                                                                                                                                                                                                                                        
2024-11-26 06:25:13.730+0000: 209107: debug : virThreadJobClear:118 : Thread 209107 (prio-rpc-virtqemud) finished job remoteDispatchConnectUnregisterCloseCallback with ret=0
2024-11-26 06:25:13.730+0000: 209103: debug : virThreadJobSet:93 : Thread 209103 (rpc-virtqemud) is now running job remoteDispatchConnectClose
2024-11-26 06:25:13.730+0000: 209103: debug : virThreadJobClear:118 : Thread 209103 (rpc-virtqemud) finished job remoteDispatchConnectClose with ret=0
2024-11-26 06:25:13.730+0000: 209100: debug : virConnectClose:1324 : conn=0x7fe98c015c90
2024-11-26 06:25:13.730+0000: 209100: debug : virCloseCallbacksDomainRunForConn:346 : conn=0x7fe98c015c90

<domain type='kvm'>
  <name>rhel10-sebios</name>
  <uuid>e991dde7-be8b-4edc-8f99-405699034270</uuid>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='auto' current='1'>4</vcpu>
  <vcpus>
    <vcpu id='0' enabled='yes' hotpluggable='no' order='1'/>
    <vcpu id='1' enabled='no' hotpluggable='yes'/>
    <vcpu id='2' enabled='no' hotpluggable='yes'/>
    <vcpu id='3' enabled='no' hotpluggable='yes'/>
  </vcpus>
  <numatune>
    <memory mode='strict' placement='auto'/>
  </numatune>
  <os>
    <type arch='x86_64' machine='pc-q35-rhel9.6.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-model' check='partial'/>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/var/lib/libvirt/images/rhel10-sebios.qcow2'/>
      <target dev='sda' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1d' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='1' port='0x10'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='2' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='2' port='0x11'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/>
    </controller>
    <controller type='pci' index='3' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='3' port='0x12'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/>
    </controller>
    <controller type='pci' index='4' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='4' port='0x13'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/>
    </controller>
    <controller type='pci' index='5' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='5' port='0x14'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/>
    </controller>
    <controller type='pci' index='6' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='6' port='0x15'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x5'/>
    </controller>
    <controller type='pci' index='7' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='7' port='0x16'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x6'/>
    </controller>
    <controller type='pci' index='8' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='8' port='0x17'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x7'/>
    </controller>
    <controller type='pci' index='9' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='9' port='0x18'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
    </controller>
    <controller type='pci' index='10' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='10' port='0x19'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
    </controller>
    <controller type='pci' index='11' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='11' port='0x1a'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
    </controller>
    <controller type='pci' index='12' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='12' port='0x1b'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
    </controller>
    <controller type='pci' index='13' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='13' port='0x1c'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x4'/>
    </controller>
    <controller type='pci' index='14' model='pcie-root-port'>
      <model name='pcie-root-port'/>
      <target chassis='14' port='0x1d'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x5'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <interface type='network'>
      <mac address='52:54:00:d8:3a:e2'/>
      <source network='default'/>
      <model type='e1000e'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='address'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='vga' vram='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <watchdog model='itco' action='reset'/>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Reply via email to