TPM FlushContext Command does not work in libvirt/QEMU Guest with /dev/tpmrm0 passthrough

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content