Changeset 48651 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 24, 2013 9:14:49 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48649 r48651 916 916 #undef VMXLOCAL_INIT_VM_MEMOBJ 917 917 918 /* The VMCS size cannot be more than 4096 bytes. See Intel spec. Appendix A.1 "Basic VMX Information". */ 919 AssertReturnStmt(MSR_IA32_VMX_BASIC_INFO_VMCS_SIZE(pVM->hm.s.vmx.Msrs.u64BasicInfo) <= PAGE_SIZE, 920 (&pVM->aCpus[0])->hm.s.u32HMError = VMX_UFC_INVALID_VMCS_SIZE, 921 VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO); 922 918 923 /* 919 924 * Allocate all the VT-x structures. … … 944 949 PVMCPU pVCpu = &pVM->aCpus[i]; 945 950 AssertPtr(pVCpu); 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 951 952 952 /* Allocate the VM control structure (VMCS). */
Note:
See TracChangeset
for help on using the changeset viewer.