Changeset 76464 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Dec 25, 2018 4:36:48 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r76397 r76464 224 224 uint8_t const uXcptTmp = VMX_ENTRY_INT_INFO_VECTOR((a_pVCpu)->hm.s.Event.u64IntInfo); \ 225 225 Log4Func(("Memory operand decoding failed, raising xcpt %#x\n", uXcptTmp)); \ 226 NOREF(uXcptTmp); \ 226 227 return VINF_SUCCESS; \ 227 228 } \ … … 1127 1128 * @param fEnabledByHost Set if SUPR0EnableVTx() or similar was used to 1128 1129 * enable VT-x on the host. 1129 * @param p vMsrs Opaque pointer to VMXMSRS struct.1130 * @param pHwvirtMsrs Pointer to the hardware-virtualization MSRs. 1130 1131 */ 1131 1132 VMMR0DECL(int) VMXR0EnableCpu(PHMGLOBALCPUINFO pHostCpu, PVM pVM, void *pvCpuPage, RTHCPHYS HCPhysCpuPage, bool fEnabledByHost, 1132 void *pvMsrs)1133 PCSUPHWVIRTMSRS pHwvirtMsrs) 1133 1134 { 1134 1135 Assert(pHostCpu); 1135 Assert(p vMsrs);1136 Assert(pHwvirtMsrs); 1136 1137 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 1137 1138 … … 1149 1150 * invalidated when flushing by VPID. 1150 1151 */ 1151 P VMXMSRS pMsrs = (PVMXMSRS)pvMsrs;1152 PCVMXMSRS pMsrs = &pHwvirtMsrs->u.vmx; 1152 1153 if (pMsrs->u64EptVpidCaps & MSR_IA32_VMX_EPT_VPID_CAP_INVEPT_ALL_CONTEXTS) 1153 1154 {
Note:
See TracChangeset
for help on using the changeset viewer.