[libvirt PATCH 7/7] cpu_map: Define and enable Snowridge model

Jiri Denemark jdenemar at redhat.com
Thu Jan 7 23:00:34 UTC 2021


On Wed, Jan 06, 2021 at 11:05:11 +0100, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake <twiederh at redhat.com>
> ---
>  src/cpu_map/index.xml                         |  1 +
>  src/cpu_map/meson.build                       |  1 +
>  src/cpu_map/x86_Snowridge.xml                 | 71 +++++++++++++++++++
>  .../domaincapsdata/qemu_4.1.0-q35.x86_64.xml  |  1 +
>  .../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  1 +
>  tests/domaincapsdata/qemu_4.1.0.x86_64.xml    |  1 +
>  .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  1 +
>  .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  1 +
>  tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  1 +
>  .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  1 +
>  .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  1 +
>  tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  1 +
>  .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  1 +
>  .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  1 +
>  tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  1 +
>  .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  1 +
>  .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  1 +
>  tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  1 +
>  18 files changed, 88 insertions(+)
>  create mode 100644 src/cpu_map/x86_Snowridge.xml

By adding the new test case to cputest in 1/7 and updating the test
results here, we could see the CPU starts to be properly detected as
Snowridge. Even though capabilities XML would still report it as
Westmere-IBRS because the host CPU does not support pdpe1gb feature
included in Snowridge CPU model.

Jirka




More information about the libvir-list mailing list