Page MenuHomeFreeBSD

bhyve: add basic TPM emulation struct
ClosedPublic

Authored by corvink on Jun 7 2023, 12:05 PM.
Tags
None
Referenced Files
F96513368: D40454.diff
Wed, Sep 25, 7:21 AM
Unknown Object (File)
Tue, Sep 17, 7:39 PM
Unknown Object (File)
Sun, Sep 15, 10:21 PM
Unknown Object (File)
Sun, Sep 15, 5:42 AM
Unknown Object (File)
Sat, Sep 14, 7:00 PM
Unknown Object (File)
Mon, Sep 9, 12:12 PM
Unknown Object (File)
Tue, Sep 3, 11:09 PM
Unknown Object (File)
Sun, Sep 1, 2:46 PM
Subscribers

Details

Summary

This struct will be used to implement various TPM emulations like a TPM
passthrough or a virtual TPM.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 52075
Build 48966: arc lint + arc unit

Event Timeline

usr.sbin/bhyve/tpm_device.c
88

Above you explicitly check for a missing "version" key, but not here. Why?

90

The opening brace should go on the previous line.

97
corvink added inline comments.
usr.sbin/bhyve/tpm_device.c
88

Those keys should always be present. An explicit check is unnecessary. D40558 fixes it for the version key.

This revision is now accepted and ready to land.Jun 15 2023, 3:11 PM
This revision was automatically updated to reflect the committed changes.
corvink marked an inline comment as done.