]> git.proxmox.com Git - swtpm.git/commit
swtpm: Implement terminate parameter for ctrl channel loss
authorStefan Berger <stefanb@linux.ibm.com>
Thu, 22 Sep 2022 12:47:49 +0000 (08:47 -0400)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 22 Sep 2022 17:27:38 +0000 (13:27 -0400)
commit6ecf5880ed3895451d6714d572c177d3e0d8a5a6
treee8394351a3065ffef60f79a268edffb7f58d5583
parent185832c8d4be95fa9305279240ca33b7403cfc91
swtpm: Implement terminate parameter for ctrl channel loss

Implement support for the terminate parameter for the control channel
option so that swtpm terminates once the control channel connection is
lost. The primary use case is QEMU that holds the control channel
permanently.

Resolves: https://github.com/stefanberger/swtpm/issues/753
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
man/man8/swtpm.pod
src/swtpm/common.c
src/swtpm/common.h
src/swtpm/mainloop.c
src/swtpm/mainloop.h
src/swtpm/swtpm.c
src/swtpm/swtpm_chardev.c