tpm_emulator: Signal swtpm to re-lock storage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tpm_emulator: Use latest tpm_ioctl.h from swtpm projectbackends/ | +76 | 2 replies | |
| 2/2 | tpm_emulator: Have swtpm relock storage upon migration fall-backbackends/ backends/ | +60 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] tpm_emulator: Signal swtpm to re-lock storage
Swtpm is being extended to release the lock on the storage where its state is written to upon migration of the last one of its state blobs. Signal swtpm to re-lock the storage upon migration fallback. An explicit signal helps swtpm to re-lock the storage earlier because otherwise it would have to wait for the next TPM command from the VM.
Releasing the lock on the storage is necessary for setups where the storage holding the TPM state is shared between hosts.
Regards,
Stefan
Stefan Berger (2):
tpm_emulator: Use latest tpm_ioctl.h from swtpm project
tpm_emulator: Have swtpm relock storage upon migration fall-back
backends/tpm/tpm_emulator.c | 59 ++++++++++++++++++++++- backends/tpm/tpm_ioctl.h | 96 +++++++++++++++++++++++++++++-------- backends/tpm/trace-events | 2 + 3 files changed, 136 insertions(+), 21 deletions(-)
Signature · 1 line
2.37.2