From a2efa4b6c0e9191afe4b3d164941db8fa7b1f337 Mon Sep 17 00:00:00 2001 From: Parallel Xenoexcite Date: Fri, 3 Aug 2018 08:45:52 +0200 Subject: 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)]). --- shvvmx.c | 4 +--- 1 file changed, 1 insertion(+), 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)); // -- cgit v1.2.3