[libvirt PATCH v2 11/12] qemu: mock swtpm initialization in tests
Ján Tomko
jtomko at redhat.com
Thu Nov 25 13:19:12 UTC 2021
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 at 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 <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211125/7d69cb43/attachment-0001.sig>
More information about the libvir-list
mailing list