[PATCH 0/3] testutilsqemu: Fake TPM versions

Michal Privoznik mprivozn at redhat.com
Fri Jul 29 07:42:10 UTC 2022


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



More information about the libvir-list mailing list