Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hv: vmcs: trap CR4.SMAP/SMEP/PKE setting
FuSa requires setting CR4.SMAP/SMEP/PKE will invalidate the TLB. However, setting CR4.SMAP will invalidate the TLB on native while not in non-root mode. To make sure this, we will trap CR4.SMAP/SMEP/PKE setting to invalidate the TLB in root mode. Tracked-On: #2561 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
- Loading branch information