VirtualBox

Changeset 72793 in vbox


Ignore:
Timestamp:
Jul 2, 2018 11:08:44 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123335
Message:

VMM/HMVMXR0: Oops, don't Log with interrupts disabled.

File:
1 edited

Legend:

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

    r72790 r72793  
    59525952 * @param   pSelReg     Pointer to the segment selector.
    59535953 *
    5954  * @remarks No-long-jump zone!!!
     5954 * @remarks Called with interrupts and/or preemption disabled, try not to assert and
     5955 *          do not log!
    59555956 *
    59565957 * @remarks Never call this function directly!!! Use the
     
    60056006        pSelReg->Attr.u &= X86DESCATTR_UNUSABLE | X86DESCATTR_L    | X86DESCATTR_D  | X86DESCATTR_G
    60066007                         | X86DESCATTR_DPL      | X86DESCATTR_TYPE | X86DESCATTR_DT;
    6007 
     6008#ifdef VBOX_STRICT
     6009        VMMRZCallRing3Disable(pVCpu);
    60086010        Log4Func(("Unusable idxSel=%#x attr=%#x -> %#x\n", idxSel, u32Sel, pSelReg->Attr.u));
    6009 #ifdef DEBUG_bird
     6011# ifdef DEBUG_bird
    60106012        AssertMsg((u32Attr & ~X86DESCATTR_P) == pSelReg->Attr.u,
    60116013                  ("%#x: %#x != %#x (sel=%#x base=%#llx limit=%#x)\n",
    60126014                   idxSel, u32Sel, pSelReg->Attr.u, pSelReg->Sel, pSelReg->u64Base, pSelReg->u32Limit));
     6015# endif
     6016        VMMRZCallRing3Enable(pVCpu);
    60136017#endif
    60146018    }
     
    60876091 * @param   pVCpu   The cross context virtual CPU structure.
    60886092 *
    6089  * @remarks Called with interrupts and/or preemption disabled, should not assert!
     6093 * @remarks Called with interrupts and/or preemption disabled, try not to assert and
     6094 *          do not log!
    60906095 * @remarks Do -not- call this function directly, use hmR0VmxImportGuestState()
    60916096 *          instead!!!
     
    1008010085        rcStrict = rc2;
    1008110086    }
     10087    Assert(!ASMAtomicUoReadU64(&pCtx->fExtrn));
    1008210088    Assert(!VMMRZCallRing3IsNotificationSet(pVCpu));
    1008310089    return rcStrict;
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