Page MenuHomeFreeBSD

bhyve: add basic TPM passthrough emulation
ClosedPublic

Authored by corvink on Jun 7 2023, 12:05 PM.
Tags
None
Referenced Files
F131626544: D40455.id122922.diff
Thu, Oct 9, 8:59 PM
F131626536: D40455.id123322.diff
Thu, Oct 9, 8:59 PM
F131609357: D40455.diff
Thu, Oct 9, 5:26 PM
Unknown Object (File)
Tue, Sep 23, 1:59 AM
Unknown Object (File)
Aug 16 2025, 6:59 PM
Unknown Object (File)
Aug 16 2025, 3:31 AM
Unknown Object (File)
Aug 15 2025, 12:57 AM
Unknown Object (File)
Aug 2 2025, 5:04 AM
Subscribers

Details

Summary

At the moment, the emulation only opens a file descriptor to the TPM
device. Some subsequent commits will read and write from it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added inline comments.
usr.sbin/bhyve/tpm_emul_passthru.c
34
41
59
65

Is it possible for this struct to be const, or do the linker set macros make that impossible?

This revision is now accepted and ready to land.Jun 8 2023, 2:59 PM
This revision was automatically updated to reflect the committed changes.