TPM FlushContext Command does not work in libvirt/QEMU Guest with /dev/tpmrm0 passthrough
Issue
- TPM FlushContext Command does not work in libvirt/QEMU Guest with /dev/tpmrm0 passthrough
- The RHEL KVM guest logs following when issue FlushContext
tpm tpm0: tpm2_save_context: failed with a TPM error 0x0162
tpm tpm0: A TPM error (357) occurred flushing context
tpm tpm0: tpm2_commit_space: error -14
Environment
- Red Hat Enterprise Linux (RHEL) 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.