]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/TdTcg2Dxe: td-guest shall halt when CcMeasurement install fail
authorMin M Xu <min.m.xu@intel.com>
Thu, 2 Feb 2023 09:04:14 +0000 (17:04 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 4 Feb 2023 12:30:47 +0000 (12:30 +0000)
commitff8485179c1cb847bff17725fd95043976108a54
tree69e5a8e8e0d3b7b1a3e3095da667a41053180841
parentcc18c503e03e64860e3587f7aa54b6beccd41fb2
SecurityPkg/TdTcg2Dxe: td-guest shall halt when CcMeasurement install fail

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4335

CcMeasurement protocol is installed when it is supported in a td-guest. If
the installation of the protocol failed, the guest shall go into
CpuDeadLoop. Because the measurement feature is crucial to a td-guest and
it shall stop running immediately at this situation.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/Tcg/TdTcg2Dxe/TdTcg2Dxe.c