VirtualBox

Changeset 41645 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 11, 2012 11:17:14 AM (13 years ago)
Author:
vboxsync
Message:

VMMR0: really disable the NMI on 32-bit Linux hosts before running 64-bit guests

Location:
trunk/src/VBox/VMM/VMMR0
Files:
2 edited

Legend:

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

    r41336 r41645  
    31023102    uOldEFlags = ASMIntDisableFlags();
    31033103
     3104#ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
     3105    RTCPUID idHostCpu = RTMpCpuId();
     3106    CPUMR0SetLApic(pVM, idHostCpu);
     3107#endif
     3108
    31043109    CPUMSetHyperESP(pVCpu, VMMGetStackRC(pVCpu));
    31053110    CPUMSetHyperEIP(pVCpu, pfnHandler);
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r41332 r41645  
    53425342    uOldEFlags = ASMIntDisableFlags();
    53435343
     5344#ifdef VBOX_WITH_VMMR0_DISABLE_LAPIC_NMI
     5345    RTCPUID idHostCpu = RTMpCpuId();
     5346    CPUMR0SetLApic(pVM, idHostCpu);
     5347#endif
     5348
    53445349    pCpu = HWACCMR0GetCurrentCpu();
    53455350    HCPhysCpuPage = RTR0MemObjGetPagePhysAddr(pCpu->hMemObj, 0);
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