VirtualBox

Changeset 78888 in vbox


Ignore:
Timestamp:
May 31, 2019 8:52:59 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131006
Message:

VMM/IEM: Nested VMX: bugref:9180 Don't signal a NMI-window exiting FF when NMI-window exiting is not set. Fixes spurious NMI-window VM-exit with WinXP nested-guest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r78689 r78888  
    38653865         */
    38663866        if (IEM_VMX_IS_PINCTLS_SET(pVCpu, VMX_PIN_CTLS_NMI_EXIT))
    3867         {
    38683867            fBlockingNmi = false;
    38693868
    3870             /* Signal a pending NMI-window VM-exit before executing the next instruction. */
    3871             if (!VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_VMX_NMI_WINDOW))
    3872                 VMCPU_FF_SET(pVCpu, VMCPU_FF_VMX_NMI_WINDOW);
     3869        /* Signal a pending NMI-window VM-exit before executing the next instruction. */
     3870        if (   IEM_VMX_IS_PROCCTLS_SET(pVCpu, VMX_PROC_CTLS_NMI_WINDOW_EXIT)
     3871            && !VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_VMX_NMI_WINDOW))
     3872        {
     3873            Assert(IEM_VMX_IS_PINCTLS_SET(pVCpu, VMX_PIN_CTLS_VIRT_NMI));
     3874            VMCPU_FF_SET(pVCpu, VMCPU_FF_VMX_NMI_WINDOW);
    38733875        }
    38743876
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette