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:
authorAlex Ionescu <ionescu007@users.noreply.github.com>2017-12-12 22:59:47 +0300
committerGitHub <noreply@github.com>2017-12-12 22:59:47 +0300
commit2454d8417201c5f59f48dd6daeabd65dcdc0c52b (patch)
tree2f8bdc67587c9cf810b1a77e9958eb3bbce5c3ad
parent02672951d97f44958316ba52903442590bf43659 (diff)
parent333dcf9187b87c8979d749cc0316ae877be5c651 (diff)
Merge pull request #24 from tandasat/support-invpcid
Fix bugcheck on Windows 10 RS4
-rw-r--r--shvvmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shvvmx.c b/shvvmx.c
index dfdd3a8..06d5303 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));