- Timestamp:
- Mar 5, 2007 12:42:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r23 r1211 63 63 64 64 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); 68 66 69 67 /* Program the control fields. Most of them never have to be changed again. */ … … 317 315 318 316 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); 322 318 323 319 /* Guest CPU context: ES, CS, SS, DS, FS, GS. */ … … 524 520 525 521 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); 529 523 530 524 /* 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.