qemu: fill in domain capabilities for TPMs

This reports what TPM features QEMU supports, provided that swtpm is
installed in the host.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2021-11-23 17:18:36 +00:00
parent fd0aa7879f
commit 6f7fc0b54a
71 changed files with 500 additions and 0 deletions

View File

@@ -165,6 +165,14 @@
<value>virtiofs</value>
</enum>
</filesystem>
<tpm supported='yes'>
<enum name='model'>
<value>tpm-tis</value>
</enum>
<enum name='backendModel'>
<value>passthrough</value>
</enum>
</tpm>
</devices>
<features>
<gic supported='yes'>