Changeset 48649 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 24, 2013 9:05:56 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48648 r48649 945 945 AssertPtr(pVCpu); 946 946 947 /* The VMCS size cannot be more than 4096 bytes. See Intel spec. Appendix A.1 "Basic VMX Information". */ 948 AssertReturnStmt(MSR_IA32_VMX_BASIC_INFO_VMCS_SIZE(pVM->hm.s.vmx.Msrs.u64BasicInfo) <= PAGE_SIZE, 949 pVCpu->hm.s.u32HMError = VMX_UFC_INVALID_VMCS_SIZE, 950 VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO); 951 947 952 /* Allocate the VM control structure (VMCS). */ 948 AssertReturn(MSR_IA32_VMX_BASIC_INFO_VMCS_SIZE(pVM->hm.s.vmx.Msrs.u64BasicInfo) <= PAGE_SIZE, VERR_INTERNAL_ERROR);949 953 rc = hmR0VmxPageAllocZ(&pVCpu->hm.s.vmx.hMemObjVmcs, &pVCpu->hm.s.vmx.pvVmcs, &pVCpu->hm.s.vmx.HCPhysVmcs); 950 954 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.