Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ionescu007/SimpleVisor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'shvvmx.c')
-rw-r--r--shvvmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shvvmx.c b/shvvmx.c
index 7030453..70d2e66 100644
--- a/shvvmx.c
+++ b/shvvmx.c
@@ -135,7 +135,7 @@ ShvVmxEptInitialize (
//
tempEpdpte.AsUlonglong = 0;
tempEpdpte.Read = tempEpdpte.Write = tempEpdpte.Execute = 1;
-
+
//
// Construct EPT identity map for every 1GB of RAM
//
@@ -339,6 +339,7 @@ ShvVmxSetupVmcsForVp (
__vmx_vmwrite(SECONDARY_VM_EXEC_CONTROL,
ShvUtilAdjustMsr(VpData->MsrData[11],
SECONDARY_EXEC_ENABLE_RDTSCP |
+ SECONDARY_EXEC_ENABLE_INVPCID |
SECONDARY_EXEC_XSAVES |
VpData->EptControls));