diff options
author | Parallel Xenoexcite <w.benny@outlook.com> | 2018-08-03 09:45:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 09:45:52 +0300 |
commit | a2efa4b6c0e9191afe4b3d164941db8fa7b1f337 (patch) | |
tree | 1ce01326f06c3f31a3e71954b543febe4a96ec10 | |
parent | 0ed192a566df15476f329b6adc4d638e65d4ea5c (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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)); // |