VirtualBox

Changeset 4790 in vbox


Ignore:
Timestamp:
Sep 14, 2007 11:40:40 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
24490
Message:

Paranoid checks

File:
1 edited

Legend:

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

    r4789 r4790  
    10361036    /* All done! Let's start VM execution. */
    10371037    STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatInGC, x);
     1038    Assert(!(ASMGetFlags() & X86_EFL_IF));
    10381039    if (pVM->hwaccm.s.vmx.fResumeVM == false)
    10391040        rc = VMXStartVM(pCtx);
    10401041    else
    10411042        rc = VMXResumeVM(pCtx);
     1043    Assert(!(ASMGetFlags() & X86_EFL_IF));
    10421044
    10431045    /* In case we execute a goto ResumeExecution later on. */
     
    19561958        return rc;
    19571959    }
     1960    Assert(!(ASMGetFlags() & X86_EFL_IF));
    19581961    pVM->hwaccm.s.vmx.fResumeVM = false;
    19591962    return VINF_SUCCESS;
     
    19711974    Assert(pVM->hwaccm.s.vmx.fSupported);
    19721975
     1976    Assert(!(ASMGetFlags() & X86_EFL_IF));
     1977
    19731978    /* Clear VM Control Structure. Marking it inactive, clearing implementation specific data and writing back VMCS data to memory. */
    19741979    int rc = VMXClearVMCS(pVM->hwaccm.s.vmx.pVMCSPhys);
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