VirtualBox

Changeset 50696 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 5, 2014 10:19:04 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: More assertions in TLB flushing.

File:
1 edited

Legend:

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

    r50655 r50696  
    17791779#endif
    17801780
     1781    Assert(pCpu->idCpu != NIL_RTCPUID);
    17811782    pVCpu->hm.s.idLastCpu           = pCpu->idCpu;
    17821783    pVCpu->hm.s.cTlbFlushes         = pCpu->cTlbFlushes;
     
    18151816    AssertPtr(pCpu);
    18161817    AssertPtr(pVCpu);
     1818    Assert(pCpu->idCpu != NIL_RTCPUID);
    18171819    AssertMsg(pVM->hm.s.fNestedPaging && pVM->hm.s.vmx.fVpid,
    18181820              ("hmR0VmxFlushTaggedTlbBoth cannot be invoked unless NestedPaging & VPID are enabled."
     
    19271929    AssertPtr(pVCpu);
    19281930    AssertPtr(pCpu);
     1931    Assert(pCpu->idCpu != NIL_RTCPUID);
    19291932    AssertMsg(pVM->hm.s.fNestedPaging, ("hmR0VmxFlushTaggedTlbEpt cannot be invoked with NestedPaging disabled."));
    19301933    AssertMsg(!pVM->hm.s.vmx.fVpid, ("hmR0VmxFlushTaggedTlbEpt cannot be invoked with VPID enabled."));
     
    19931996    AssertPtr(pVCpu);
    19941997    AssertPtr(pCpu);
     1998    Assert(pCpu->idCpu != NIL_RTCPUID);
    19951999    AssertMsg(pVM->hm.s.vmx.fVpid, ("hmR0VmxFlushTlbVpid cannot be invoked with VPID disabled."));
    19962000    AssertMsg(!pVM->hm.s.fNestedPaging, ("hmR0VmxFlushTlbVpid cannot be invoked with NestedPaging enabled"));
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