VirtualBox

Changeset 40551 in vbox for trunk


Ignore:
Timestamp:
Mar 20, 2012 1:57:43 PM (13 years ago)
Author:
vboxsync
Message:

VT-x: Properly determine #MF interception state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r40451 r40551  
    13091309#endif
    13101310
    1311     /* Also catch floating point exceptions as we need to report them to the guest in a different way. */
    1312     if (    CPUMIsGuestFPUStateActive(pVCpu) == true
    1313         && !(pCtx->cr0 & X86_CR0_NE)
    1314         && !pVCpu->hwaccm.s.fFPUOldStyleOverride)
     1311    /* Also catch floating point exceptions if we need to report them to the guest in a different way. */
     1312    if (!(pCtx->cr0 & X86_CR0_NE))
    13151313    {
    13161314        u32TrapMask |= RT_BIT(X86_XCPT_MF);
    1317         pVCpu->hwaccm.s.fFPUOldStyleOverride = true;
    13181315    }
    13191316
Note: See TracChangeset for help on using the changeset viewer.

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