Changeset 73274 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Jul 20, 2018 3:40:10 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r73266 r73274 790 790 { 791 791 /* Write the VMCS revision dword to the VMXON region. */ 792 *(uint32_t *)pvCpuPage = MSR_IA32_VMX_BASIC_ INFO_VMCS_ID(pVM->hm.s.vmx.Msrs.u64BasicInfo);792 *(uint32_t *)pvCpuPage = MSR_IA32_VMX_BASIC_VMCS_ID(pVM->hm.s.vmx.Msrs.u64BasicInfo); 793 793 } 794 794 … … 968 968 969 969 /* The VMCS size cannot be more than 4096 bytes. See Intel spec. Appendix A.1 "Basic VMX Information". */ 970 AssertReturnStmt(MSR_IA32_VMX_BASIC_ INFO_VMCS_SIZE(pVM->hm.s.vmx.Msrs.u64BasicInfo) <= PAGE_SIZE,970 AssertReturnStmt(MSR_IA32_VMX_BASIC_VMCS_SIZE(pVM->hm.s.vmx.Msrs.u64BasicInfo) <= PAGE_SIZE, 971 971 (&pVM->aCpus[0])->hm.s.u32HMError = VMX_UFC_INVALID_VMCS_SIZE, 972 972 VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO); … … 2785 2785 2786 2786 /* Set revision dword at the beginning of the VMCS structure. */ 2787 *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs = MSR_IA32_VMX_BASIC_ INFO_VMCS_ID(pVM->hm.s.vmx.Msrs.u64BasicInfo);2787 *(uint32_t *)pVCpu->hm.s.vmx.pvVmcs = MSR_IA32_VMX_BASIC_VMCS_ID(pVM->hm.s.vmx.Msrs.u64BasicInfo); 2788 2788 2789 2789 /* Initialize our VMCS region in memory, set the VMCS launch state to "clear". */ … … 12131 12131 Log4(("CS:RIP=%04x:%08RX64 %#06x/%u %c str\n", pCtx->cs.Sel, pCtx->rip, uIOPort, cbValue, fIOWrite ? 'w' : 'r')); 12132 12132 AssertReturn(pCtx->dx == uIOPort, VERR_VMX_IPE_2); 12133 if (MSR_IA32_VMX_BASIC_ INFO_VMCS_INS_OUTS(pVM->hm.s.vmx.Msrs.u64BasicInfo))12133 if (MSR_IA32_VMX_BASIC_VMCS_INS_OUTS(pVM->hm.s.vmx.Msrs.u64BasicInfo)) 12134 12134 { 12135 12135 int rc2 = hmR0VmxReadExitInstrInfoVmcs(pVmxTransient);
Note:
See TracChangeset
for help on using the changeset viewer.