VirtualBox

Changeset 1211 in vbox for trunk


Ignore:
Timestamp:
Mar 5, 2007 12:42:11 PM (18 years ago)
Author:
vboxsync
Message:

Cleanup

File:
1 edited

Legend:

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

    r23 r1211  
    6363
    6464    pVMCB = (SVM_VMCB *)pVM->hwaccm.s.svm.pVMCB;
    65     Assert(pVMCB);
    66     if (pVMCB == 0)
    67         return VERR_EM_INTERNAL_ERROR;
     65    AssertMsgReturn(pVMCB, ("Invalid pVMCB\n"), VERR_EM_INTERNAL_ERROR);
    6866
    6967    /* Program the control fields. Most of them never have to be changed again. */
     
    317315
    318316    pVMCB = (SVM_VMCB *)pVM->hwaccm.s.svm.pVMCB;
    319     Assert(pVMCB);
    320     if (pVMCB == 0)
    321         return VERR_EM_INTERNAL_ERROR;
     317    AssertMsgReturn(pVMCB, ("Invalid pVMCB\n"), VERR_EM_INTERNAL_ERROR);
    322318
    323319    /* Guest CPU context: ES, CS, SS, DS, FS, GS. */
     
    524520
    525521    pVMCB = (SVM_VMCB *)pVM->hwaccm.s.svm.pVMCB;
    526     Assert(pVMCB);
    527     if (pVMCB == 0)
    528         return VERR_EM_INTERNAL_ERROR;
     522    AssertMsgReturn(pVMCB, ("Invalid pVMCB\n"), VERR_EM_INTERNAL_ERROR);
    529523
    530524    /* We can jump to this point to resume execution after determining that a VM-exit is innocent.
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