summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorClaudio Carvalho <cclaudio@linux.ibm.com>2024-06-10 22:29:57 +0300
committerArd Biesheuvel <workofard@gmail.com>2025-03-16 20:21:44 +0100
commit40b4e190d37dca895f46d816eca154d07c761ae7 (patch)
tree68fe86e32bd49824d4a58b006534ece14daf2ad2 /BaseTools/Source/Python
parent70f806ec23fb1c376afe33f2f054819a03e21641 (diff)
downloadedk2-40b4e190d37dca895f46d816eca154d07c761ae7.zip
edk2-40b4e190d37dca895f46d816eca154d07c761ae7.tar.gz
edk2-40b4e190d37dca895f46d816eca154d07c761ae7.tar.bz2
OvmfPkg/AmdSvsmLib: Add the SVSM vTPM protocol
As described in the SVSM specification, guest components can call to the SVSM vTPM through the vTPM protocol (protocol-id 2). The SVSM vTPM protocol follows the Microsoft TPM Simulator interface (MSSIM) and supports two services: - SVSM_VTPM_QUERY (call-id 0): query MSSIM commands and vTPM features supported. - SVSM_VTPM_CMD (call-id 1): send a MSSIM command to be run by the vTPM and get the result. This patch adds support for SVSM_VTPM_QUERY and SVSM_VTPM_CMD to invoke a SVSM when the guest is running at VMPL0. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Co-authored-by: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com> Signed-off-by: Oliver Steffen <osteffen@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python')
0 files changed, 0 insertions, 0 deletions