Changeset 43746 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Oct 25, 2012 4:35:37 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r43657 r43746 338 338 SVM_VMCB *pvVMCB = (SVM_VMCB *)pVM->aCpus[i].hm.s.svm.pvVMCB; 339 339 340 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_ HMSVM_INVALID_PVMCB);340 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB); 341 341 342 342 /* … … 755 755 756 756 pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB; 757 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_ HMSVM_INVALID_PVMCB);757 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB); 758 758 759 759 /* Guest CPU context: ES, CS, SS, DS, FS, GS. */ … … 1223 1223 1224 1224 pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB; 1225 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_ HMSVM_INVALID_PVMCB);1225 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB); 1226 1226 1227 1227 /* … … 2090 2090 default: 2091 2091 AssertMsgFailed(("Unexpected vm-exit caused by exception %x\n", vector)); 2092 rc = VERR_ HMSVM_UNEXPECTED_XCPT_EXIT;2092 rc = VERR_SVM_UNEXPECTED_XCPT_EXIT; 2093 2093 break; 2094 2094 … … 2759 2759 default: 2760 2760 /* Unexpected exit codes. */ 2761 rc = VERR_ HMSVM_UNEXPECTED_EXIT;2761 rc = VERR_SVM_UNEXPECTED_EXIT; 2762 2762 AssertMsgFailed(("Unexpected exit code %x\n", exitCode)); /* Can't happen. */ 2763 2763 break; … … 2877 2877 2878 2878 default: 2879 AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_ HMSVM_UNEXPECTED_PATCH_TYPE);2879 AssertMsgFailedReturn(("Unexpected type %d\n", pPatch->enmType), VERR_SVM_UNEXPECTED_PATCH_TYPE); 2880 2880 } 2881 2881 } … … 3044 3044 3045 3045 pvVMCB = (SVM_VMCB *)pVCpu->hm.s.svm.pvVMCB; 3046 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_ HMSVM_INVALID_PVMCB);3046 AssertMsgReturn(pvVMCB, ("Invalid pvVMCB\n"), VERR_SVM_INVALID_PVMCB); 3047 3047 3048 3048 #if HC_ARCH_BITS == 32 -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r43737 r43746 2241 2241 } 2242 2242 2243 pVCpu->hm.s.vmx.c CachedMsrs = idxMsr;2243 pVCpu->hm.s.vmx.cGuestMsrs = idxMsr; 2244 2244 2245 2245 rc = VMXWriteVMCS(VMX_VMCS32_CTRL_ENTRY_MSR_LOAD_COUNT, idxMsr); … … 2440 2440 * Save the possibly changed MSRs that we automatically restore and save during a world switch. 2441 2441 */ 2442 for (unsigned i = 0; i < pVCpu->hm.s.vmx.c CachedMsrs; i++)2442 for (unsigned i = 0; i < pVCpu->hm.s.vmx.cGuestMsrs; i++) 2443 2443 { 2444 2444 PVMXMSR pMsr = (PVMXMSR)pVCpu->hm.s.vmx.pvGuestMsr; -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r43670 r43746 2715 2715 LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d GuestMSRPhys %RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysGuestMsr)); 2716 2716 LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d HostMsrPhys %RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysHostMsr)); 2717 LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d Cached MSRs %x\n", i, pVM->aCpus[i].hm.s.vmx.cCachedMsrs));2717 LogRel(("VERR_VMX_UNABLE_TO_START_VM: Cpu%d cGuestMSRs %x\n", i, pVM->aCpus[i].hm.s.vmx.cGuestMsrs)); 2718 2718 #endif 2719 2719 }
Note:
See TracChangeset
for help on using the changeset viewer.