[libvirt PATCH v2 07/12] util: pull TPM capabilities probing out of main init method

Ján Tomko jtomko at redhat.com
Thu Nov 25 13:17:33 UTC 2021


On a Wednesday in 2021, Daniel P. Berrangé wrote:
>Many methods merely want to know that the swtpm binaries have been
>found, and don't care about probing for capabilities. Even when
>starting a guest, the QEMU driver may not need the capabilities.
>
>Skipping probing ensures the VM startup path is as fast as possible
>when capabilities are not required. It also removes various error
>scenarios from the main init method.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> src/util/virtpm.c | 21 ++++++++++++---------
> 1 file changed, 12 insertions(+), 9 deletions(-)

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/c0aff99d/attachment-0001.sig>


More information about the libvir-list mailing list