[PATCH 0/3] qemuxml2argvtest: add ARG_CAPS_HOST_CPU_MODEL

Daniel Henrique Barboza posted 3 patches 1 year, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20220520204704.1290007-1-danielhb413@gmail.com
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%)
[PATCH 0/3] qemuxml2argvtest: add ARG_CAPS_HOST_CPU_MODEL
Posted by Daniel Henrique Barboza 1 year, 11 months ago
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
Re: [PATCH 0/3] qemuxml2argvtest: add ARG_CAPS_HOST_CPU_MODEL
Posted by Daniel Henrique Barboza 1 year, 11 months ago
Pushed fixing the typo in patch 2. Thanks!


Daniel

On 5/20/22 17:47, Daniel Henrique Barboza wrote:
> 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%)
>