Changes from v2:
- rebased with current master
- patch 2:
- added qemuxml2xmltest
- all tests are now using DO_TEST_CAPS_ARCH_LATEST()
- new patch 3: added NEWS.rst update
- v2 link:
https://listman.redhat.com/archives/libvir-list/2022-May/230746.html
Daniel Henrique Barboza (3):
cpu_map: add POWER10 cpu model
cpu_ppc64: add support for host-model on POWER10
NEWS.rst: document Power10 support
NEWS.rst | 4 ++
src/cpu/cpu_ppc64.c | 8 ++--
src/cpu_map/index.xml | 1 +
src/cpu_map/meson.build | 1 +
src/cpu_map/ppc64_POWER10.xml | 6 +++
tests/domaincapsdata/qemu_5.0.0.ppc64.xml | 1 +
tests/domaincapsdata/qemu_5.2.0.ppc64.xml | 1 +
tests/domaincapsdata/qemu_6.2.0.ppc64.xml | 1 +
tests/domaincapsdata/qemu_7.0.0.ppc64.xml | 1 +
.../qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 4 +-
.../qemucapabilitiesdata/caps_5.2.0.ppc64.xml | 4 +-
.../qemucapabilitiesdata/caps_6.2.0.ppc64.xml | 4 +-
.../qemucapabilitiesdata/caps_7.0.0.ppc64.xml | 4 +-
...eries-cpu-compat-power10.ppc64-latest.args | 34 +++++++++++++++
...series-cpu-compat-power10.ppc64-latest.err | 1 +
.../pseries-cpu-compat-power10.xml | 21 ++++++++++
tests/qemuxml2argvtest.c | 4 ++
...series-cpu-compat-power10.ppc64-latest.xml | 41 +++++++++++++++++++
tests/qemuxml2xmltest.c | 1 +
tests/testutilshostcpus.h | 11 +++++
tests/testutilsqemu.c | 6 ++-
tests/testutilsqemu.h | 2 +
22 files changed, 148 insertions(+), 13 deletions(-)
create mode 100644 src/cpu_map/ppc64_POWER10.xml
create mode 100644 tests/qemuxml2argvdata/pseries-cpu-compat-power10.ppc64-latest.args
create mode 100644 tests/qemuxml2argvdata/pseries-cpu-compat-power10.ppc64-latest.err
create mode 100644 tests/qemuxml2argvdata/pseries-cpu-compat-power10.xml
create mode 100644 tests/qemuxml2xmloutdata/pseries-cpu-compat-power10.ppc64-latest.xml
--
2.32.0