diff options
author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-10 13:41:39 +0000 |
---|---|---|
committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2023-05-10 13:41:39 +0000 |
commit | 5bf4508a0462e478082c9d20930d032b6eb2ad28 (patch) | |
tree | 83c93f082f1f1c4d43592855272594cd2ee95cb0 | |
parent | 1e65f095bcbb6529d6abc00a3025cf03c83d09a0 (diff) | |
download | VirtualBox-svn-5bf4508a0462e478082c9d20930d032b6eb2ad28.tar.gz |
VMM/EM: Nested VMX: bugref:10318 Clarify comment regarding priority of interrupt-window vs NMI delivery. The code should eventually be restructured.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99725 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r-- | src/VBox/VMM/VMMR3/EM.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/VBox/VMM/VMMR3/EM.cpp b/src/VBox/VMM/VMMR3/EM.cpp index f54c5e79934..965623bd49d 100644 --- a/src/VBox/VMM/VMMR3/EM.cpp +++ b/src/VBox/VMM/VMMR3/EM.cpp @@ -1857,8 +1857,9 @@ int emR3ForcedActions(PVM pVM, PVMCPU pVCpu, int rc) /* * VMX interrupt-window VM-exit. * This is a bit messy with the way the code below is currently structured, - * but checking VMCPU_FF_INTERRUPT_NMI here should allow pending NMI to be delivered - * prior to causing an interrupt-window VM-exit. + * but checking VMCPU_FF_INTERRUPT_NMI here (combined with CPUMAreInterruptsInhibitedByNmi + * already checked at this point) should allow a pending NMI to be delivered prior to + * causing an interrupt-window VM-exit. */ /** @todo Restructure this later to happen after injecting NMI/causing NMI-exit, see * code in VMX R0 event delivery. */ |