On Thu, May 6, 2021 at 10:00 AM Jason Andryuk <[email protected]> wrote: > > vtpmmgr uses the default, weak app_shutdown, which immediately calls the > shutdown hypercall. This short circuits the vtpmmgr clean up logic. We > need to perform the clean up to actually Flush our key out of the tpm. > > Setting do_shutdown is one step in that direction, but vtpmmgr will most > likely be waiting in tpmback_req_any. We need to call shutdown_tpmback > to cancel the wait inside tpmback and perform the shutdown. > > Signed-off-by: Jason Andryuk <[email protected]> > Reviewed-by: Samuel Thibault <[email protected]>
Whoops, this should be "Reviewed-by: Samuel Thibault <[email protected]>". The above is missing an "l" in the last name. -Jason
