Stefan Berger <address@hidden> writes:
I can write an OS that sends a command to the TPM and then shuts down
without waiting for the program to terminate or the even the response
from the TPM to come back . In this case we would need to cancel the
command on exit()l.
Aha, now we're getting somewhere.
Are you talking about the following scenario?
* Guest sends TPM command, QEMU passes it through, QEMU thread blocks in
write() to TPM.
* Guest powers down, QEMU is configured to terminate on powerdown, calls
exit().
* Unless you explicitly cancel the TPM command, $BAD_THINGS can happen.
If yes, please describe at least one instance of $BAD_THINGS for me
again.