tpm_emulator: Signal swtpm to again lock storage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
v3 from the cover letter
- extended timeout to 3 seconds
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 | 0 replies | |
| 2/2 | tpm_emulator: Have swtpm relock storage upon migration fall-backbackends/ backends/ | +61 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
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 again lock storage
Swtpm has been 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 again lock the storage upon migration fallback. An explicit signal helps swtpm to 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
v3:
- extended timeout to 3 seconds
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 | 60 ++++++++++++++++++++++- backends/tpm/tpm_ioctl.h | 96 +++++++++++++++++++++++++++++-------- backends/tpm/trace-events | 2 + 3 files changed, 137 insertions(+), 21 deletions(-)
Signature · 1 line
2.37.2