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:
authorParallel Xenoexcite <w.benny@outlook.com>2018-08-03 09:45:52 +0300
committerGitHub <noreply@github.com>2018-08-03 09:45:52 +0300
commita2efa4b6c0e9191afe4b3d164941db8fa7b1f337 (patch)
tree1ce01326f06c3f31a3e71954b543febe4a96ec10
parent0ed192a566df15476f329b6adc4d638e65d4ea5c (diff)
Remove unnecessary VM_EXIT_ACK_INTR_ON_EXIT flag
Setting VM_EXIT_ACK_INTR_ON_EXIT makes sense only when PIN_BASED_EXT_INTR is set (see Intel Manual Vol3C[24.7.1(VM-Exit Controls)]).
-rw-r--r--shvvmx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shvvmx.c b/shvvmx.c
index 06d5303..d7e9958 100644
--- a/shvvmx.c
+++ b/shvvmx.c
@@ -361,12 +361,10 @@ ShvVmxSetupVmcsForVp (
CPU_BASED_ACTIVATE_SECONDARY_CONTROLS));
//
- // If any interrupts were pending upon entering the hypervisor, acknowledge
- // them when we're done. And make sure to enter us in x64 mode at all times
+ // Make sure to enter us in x64 mode at all times.
//
__vmx_vmwrite(VM_EXIT_CONTROLS,
ShvUtilAdjustMsr(VpData->MsrData[15],
- VM_EXIT_ACK_INTR_ON_EXIT |
VM_EXIT_IA32E_MODE));
//