HomeFreeBSD

bhyve/tpm: create crb thread for sending tpm commands

Description

bhyve/tpm: create crb thread for sending tpm commands

Commands send to a tpm are very slow. They can take up to several
seconds for completion. For that reason, create a thread which issues
the commands to the tpm device.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40458

Details

Provenance
corvinkAuthored on Aug 29 2022, 10:10 AM
Reviewer
markj
Differential Revision
D40458: bhyve/tpm: create crb thread for sending tpm commands
Parents
rG5ea98d326830: bhyve/tpm: build TPM2 table by tpm interface
Branches
Unknown
Tags
Unknown