[PATCH 0/3] testutilsqemu: Fake TPM versions

Michal Privoznik posted 3 patches 1 year, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1659080395.git.mprivozn@redhat.com
There is a newer version of this series
src/util/virtpm.c                             |  4 ++--
src/util/virtpm.h                             |  6 +++---
.../domaincapsdata/qemu_3.1.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_3.1.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_4.0.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_4.0.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_4.1.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_4.1.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_4.2.0.ppc64.xml     |  4 ++++
tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  4 ++++
.../qemu_5.0.0-virt.aarch64.xml               |  4 ++++
tests/domaincapsdata/qemu_5.0.0.aarch64.xml   |  4 ++++
tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |  4 ++++
tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  4 ++++
.../qemu_5.2.0-virt.aarch64.xml               |  4 ++++
tests/domaincapsdata/qemu_5.2.0.aarch64.xml   |  4 ++++
tests/domaincapsdata/qemu_5.2.0.ppc64.xml     |  4 ++++
tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  4 ++++
.../qemu_6.0.0-virt.aarch64.xml               |  4 ++++
tests/domaincapsdata/qemu_6.0.0.aarch64.xml   |  4 ++++
tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |  4 ++++
.../qemu_6.2.0-virt.aarch64.xml               |  4 ++++
tests/domaincapsdata/qemu_6.2.0.aarch64.xml   |  4 ++++
tests/domaincapsdata/qemu_6.2.0.ppc64.xml     |  4 ++++
tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  |  4 ++++
.../qemu_7.0.0-virt.aarch64.xml               |  4 ++++
tests/domaincapsdata/qemu_7.0.0.aarch64.xml   |  4 ++++
tests/domaincapsdata/qemu_7.0.0.ppc64.xml     |  4 ++++
tests/domaincapsdata/qemu_7.0.0.x86_64.xml    |  4 ++++
.../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  |  4 ++++
.../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  |  4 ++++
tests/domaincapsdata/qemu_7.1.0.x86_64.xml    |  4 ++++
tests/testutilsqemu.c                         | 19 +++++++++++++++++++
54 files changed, 228 insertions(+), 5 deletions(-)
[PATCH 0/3] testutilsqemu: Fake TPM versions
Posted by Michal Privoznik 1 year, 8 months ago
I thought I've sent these before the freeze but as I tried to ping them,
I realize I didn't. I'm not sure how critical these are to get into the
release (after all we see no test failing), but they make at least
VIR_TEST_DEBUG output of domcapabilities cleaner.

Michal Prívozník (3):
  virtpm: Use corresponding type for argument for virTPM*CapsGet()
  testutilsqemu: Mock virTPMSwtpmSetupCapsGet()
  testutilsqemu: Fake TPM versions

 src/util/virtpm.c                             |  4 ++--
 src/util/virtpm.h                             |  6 +++---
 .../domaincapsdata/qemu_3.1.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_3.1.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_3.1.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_4.0.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_4.0.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_4.0.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_4.1.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_4.1.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_4.1.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_4.2.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_4.2.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_4.2.0.ppc64.xml     |  4 ++++
 tests/domaincapsdata/qemu_4.2.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_5.0.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_5.0.0-tcg.x86_64.xml  |  4 ++++
 .../qemu_5.0.0-virt.aarch64.xml               |  4 ++++
 tests/domaincapsdata/qemu_5.0.0.aarch64.xml   |  4 ++++
 tests/domaincapsdata/qemu_5.0.0.ppc64.xml     |  4 ++++
 tests/domaincapsdata/qemu_5.0.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_5.1.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_5.1.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_5.1.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_5.2.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_5.2.0-tcg.x86_64.xml  |  4 ++++
 .../qemu_5.2.0-virt.aarch64.xml               |  4 ++++
 tests/domaincapsdata/qemu_5.2.0.aarch64.xml   |  4 ++++
 tests/domaincapsdata/qemu_5.2.0.ppc64.xml     |  4 ++++
 tests/domaincapsdata/qemu_5.2.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_6.0.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_6.0.0-tcg.x86_64.xml  |  4 ++++
 .../qemu_6.0.0-virt.aarch64.xml               |  4 ++++
 tests/domaincapsdata/qemu_6.0.0.aarch64.xml   |  4 ++++
 tests/domaincapsdata/qemu_6.0.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_6.1.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_6.1.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_6.1.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_6.2.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_6.2.0-tcg.x86_64.xml  |  4 ++++
 .../qemu_6.2.0-virt.aarch64.xml               |  4 ++++
 tests/domaincapsdata/qemu_6.2.0.aarch64.xml   |  4 ++++
 tests/domaincapsdata/qemu_6.2.0.ppc64.xml     |  4 ++++
 tests/domaincapsdata/qemu_6.2.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_7.0.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_7.0.0-tcg.x86_64.xml  |  4 ++++
 .../qemu_7.0.0-virt.aarch64.xml               |  4 ++++
 tests/domaincapsdata/qemu_7.0.0.aarch64.xml   |  4 ++++
 tests/domaincapsdata/qemu_7.0.0.ppc64.xml     |  4 ++++
 tests/domaincapsdata/qemu_7.0.0.x86_64.xml    |  4 ++++
 .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml  |  4 ++++
 .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml  |  4 ++++
 tests/domaincapsdata/qemu_7.1.0.x86_64.xml    |  4 ++++
 tests/testutilsqemu.c                         | 19 +++++++++++++++++++
 54 files changed, 228 insertions(+), 5 deletions(-)

-- 
2.35.1