[PATCH 0/3] qemuxml2argvtest: add ARG_CAPS_HOST_CPU_MODEL

Daniel Henrique Barboza danielhb413 at gmail.com
Fri May 20 20:47:01 UTC 2022


Hi,

This series attempts to fix a problem I found when converting the
"pseries-cpu-compat-power9" to use DO_TEST_CAPS_ARCH_LATEST* macros.
More information about the problem per se can be found in patch 02.
Patch 03 is where I was able to convert the said test.

Patch 01 is a trivial fix I found out when reading code.


Daniel Henrique Barboza (3):
  qemu_capspriv.h: fix identation
  testutilsqemu: introduce ARG_CAPS_HOST_CPU_MODEL
  qemuxml2argvtest.c: use CAPS_ARCH_LATEST() with
    pseries-cpu-compat-power9

 src/qemu/qemu_capspriv.h                      |  4 +-
 ...eries-cpu-compat-power9.ppc64-latest.args} | 12 +++---
 ...series-cpu-compat-power9.ppc64-latest.err} |  0
 tests/qemuxml2argvtest.c                      | 41 ++++++++++++-------
 tests/testutilsqemu.c                         |  4 ++
 tests/testutilsqemu.h                         | 18 ++++----
 6 files changed, 49 insertions(+), 30 deletions(-)
 rename tests/qemuxml2argvdata/{pseries-cpu-compat-power9.args => pseries-cpu-compat-power9.ppc64-latest.args} (60%)
 rename tests/qemuxml2argvdata/{pseries-cpu-compat-power9.err => pseries-cpu-compat-power9.ppc64-latest.err} (100%)

-- 
2.32.0



More information about the libvir-list mailing list