Re: [libvirt PATCH v2 11/12] qemu: mock swtpm initialization in tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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é <berrange@xxxxxxxxxx>
---
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 <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux