VirtualBox

Ignore:
Timestamp:
Jul 14, 2008 4:28:23 PM (16 years ago)
Author:
vboxsync
Message:

Check for unexpected rescheduling.

File:
1 edited

Legend:

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

    r10607 r10609  
    781781    uint8_t     u8LastVTPR;
    782782    PHWACCM_CPUINFO pCpu = 0;
     783#ifdef VBOX_STRICT
     784    RTCPUID  idCpuCheck;
     785#endif
    783786
    784787    STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatEntry, x);
     
    888891     *       (until the actual world switch)
    889892     */
     893
     894#ifdef VBOX_STRICT
     895    idCpuCheck = RTMpCpuId();
     896#endif
    890897
    891898    /* Load the guest state; *must* be here as it sets up the shadow cr0 for lazy fpu syncing! */
     
    972979    Assert(pVMCB->ctrl.u64LBRVirt == 0);
    973980
     981#ifdef VBOX_STRICT
     982    Assert(idCpuCheck == RTMpCpuId());
     983#endif
    974984    pVM->hwaccm.s.svm.pfnVMRun(pVM->hwaccm.s.svm.pVMCBHostPhys, pVM->hwaccm.s.svm.pVMCBPhys, pCtx);
    975985    STAM_PROFILE_ADV_STOP(&pVM->hwaccm.s.StatInGC, x);
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