On a Wednesday in 2021, Daniel P. Berrangé wrote:
The domain capabilities won't report TPM support unless SWTPM can be
initialized. To avoid relying on the swtpm install in the host, mock
the entire initialization method, since all it needs todo is return
a non-error value.

Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
tests/domaincapsdata/qemu_2.11.0-q35.x86_64.xml  | 1 +
tests/domaincapsdata/qemu_2.11.0-tcg.x86_64.xml  | 1 +
tests/domaincapsdata/qemu_2.11.0.x86_64.xml      | 1 +

[..]

tests/domaincapsdata/qemu_6.2.0-virt.aarch64.xml | 1 +
tests/domaincapsdata/qemu_6.2.0.aarch64.xml      | 1 +
tests/domaincapsdata/qemu_6.2.0.ppc64.xml        | 1 +
tests/domaincapsdata/qemu_6.2.0.x86_64.xml       | 1 +
tests/domaincapstest.c                           | 9 +++++++++
51 files changed, 59 insertions(+)


Reviewed-by: Ján Tomko <jto...@redhat.com>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to