[libvirt PATCH v2 03/12] util: refactor TPM helper methods to reduce duplicationm

Ján Tomko jtomko at redhat.com
Wed Nov 24 15:57:09 UTC 2021


On a Wednesday in 2021, Daniel P. Berrangé wrote:
>The TPM helper methods for querying the binary path and capabilities
>have the same patterns across all swtpm binaries. This code duplication
>can be reduced by introducing helper methods.
>

s/duplicationm/duplication/ in the commit summary

>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> src/util/virtpm.c | 53 ++++++++++++++++++++---------------------------
> 1 file changed, 23 insertions(+), 30 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/20211124/7b064277/attachment-0001.sig>


More information about the libvir-list mailing list