Re: [PATCH v2 08/13] vtpmmgr: Shutdown more gracefully

2021-05-10 Thread Daniel P. Smith
On 5/6/21 9:59 AM, Jason Andryuk 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

Re: [PATCH v2 08/13] vtpmmgr: Shutdown more gracefully

2021-05-06 Thread Jason Andryuk
On Thu, May 6, 2021 at 10:00 AM Jason Andryuk 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

[PATCH v2 08/13] vtpmmgr: Shutdown more gracefully

2021-05-06 Thread Jason Andryuk
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