DM: add vPTCT for post-launched RTVM

dm: vptct: add vPTCT for post-launched RTVM

We added vPTCT support for post-launched RTVM:
1. Added a function create_and_inject_vptct. Currently, we
pass-through the whole pSRAM to one RTVM, so we will also pass-
through the PTCT to the very same RTVM. This function will
read the native PTCT from SOS and inject it into post-
launched VM's vACPI.
2. Added some definitions for vPTCT.

Tracked-On: #5330
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Qian Wang
2020-10-27 15:16:54 +08:00
committed by wenlingz
parent ca2aee225c
commit 2fdd1374a9
4 changed files with 87 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ bool stdio_in_use;
bool lapic_pt;
bool is_rtvm;
bool pt_tpm2;
bool pt_ptct;
bool is_winvm;
bool skip_pci_mem64bar_workaround = false;