]> git.proxmox.com Git - swtpm.git/commit - man/man8/swtpm.pod
swtpm: Introduce --migration option and 'incoming' parameter
authorStefan Berger <stefanb@linux.ibm.com>
Wed, 10 Aug 2022 19:30:15 +0000 (15:30 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Tue, 6 Sep 2022 18:08:45 +0000 (14:08 -0400)
commit8a2bbeceba8f885c9118be5c26bf0549b38846ac
tree0e6a9076c346477e12d3134655e952d545cedf44
parent44acf591c86da150cbabb6b10f9607c9b19cc003
swtpm: Introduce --migration option and 'incoming' parameter

Introduce the --migration option along with the 'incoming' parameter
that allows to defer the locking of the storage until either

- the reception of the TPM's state is started
- a TPM command is about to be processed

Note that the reception of CMD_INIT does not enable the storage lock.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Resolves: https://github.com/stefanberger/swtpm/issues/724
12 files changed:
man/man8/swtpm.pod
src/swtpm/common.c
src/swtpm/common.h
src/swtpm/ctrlchannel.c
src/swtpm/cuse_tpm.c
src/swtpm/mainloop.c
src/swtpm/mainloop.h
src/swtpm/swtpm.c
src/swtpm/swtpm_chardev.c
src/swtpm/swtpm_nvstore.c
src/swtpm/tpmlib.c
src/swtpm/tpmlib.h