diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-08 08:53:19 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-08 08:53:19 +0000 |
commit | 6f2f71390e2f005290ba28e5b6a101e2a3b13996 (patch) | |
tree | 18f4aa7e3c22c7552868ee4df4aa43c2a138a51d /src | |
parent | 1b24a245aa8104db6bce7154ce549a2581e0736d (diff) | |
download | VirtualBox-svn-6f2f71390e2f005290ba28e5b6a101e2a3b13996.tar.gz |
VMM: Nested VMX: bugref:10318 Fix inverted condition in r157185.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99657 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src')
-rw-r--r-- | src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h b/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h index 927ed43209d..40a311f31e7 100644 --- a/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h +++ b/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h @@ -5039,8 +5039,8 @@ static VBOXSTRICTRC vmxHCEvaluatePendingEventNested(PVMCPUCC pVCpu, PVMXVMCSINFO * See Intel spec. 25.4.1 "Event Blocking". * See Intel spec. 6.7 "Nonmaskable Interrupt (NMI)". */ - if ( CPUMIsInInterruptShadowWithUpdate(&pVCpu->cpum.GstCtx) - || CPUMAreInterruptsInhibitedByNmi(&pVCpu->cpum.GstCtx)) + if ( !CPUMIsInInterruptShadowWithUpdate(&pVCpu->cpum.GstCtx) + && !CPUMAreInterruptsInhibitedByNmi(&pVCpu->cpum.GstCtx)) { /* likely */ } else return VINF_SUCCESS; |