- Timestamp:
- Aug 30, 2013 10:22:15 PM (11 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r48209 r48210 114 114 115 115 /** Host CR4 value (set by ring-0 VMX init) */ 116 /** @todo This isn't used for anything relevant. Remove later? */ 116 117 uint64_t u64HostCr4; 117 118 … … 1249 1250 pVM->hm.s.vmx.cPreemptTimerShift = g_HvmR0.vmx.cPreemptTimerShift; 1250 1251 pVM->hm.s.vmx.msr.feature_ctrl = g_HvmR0.vmx.msr.u64FeatureCtrl; 1251 pVM->hm.s.vmx. hostCR4= g_HvmR0.vmx.u64HostCr4;1252 pVM->hm.s.vmx. hostEFER= g_HvmR0.vmx.u64HostEfer;1252 pVM->hm.s.vmx.u64HostCr4 = g_HvmR0.vmx.u64HostCr4; 1253 pVM->hm.s.vmx.u64HostEfer = g_HvmR0.vmx.u64HostEfer; 1253 1254 pVM->hm.s.vmx.msr.vmx_basic_info = g_HvmR0.vmx.msr.u64BasicInfo; 1254 1255 pVM->hm.s.vmx.msr.vmx_pin_ctls = g_HvmR0.vmx.msr.vmxPinCtls; -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r48023 r48210 976 976 977 977 LogRel(("HM: Using VT-x implementation 2.0!\n")); 978 LogRel(("HM: Host CR4 = %#RX64\n", pVM->hm.s.vmx. hostCR4));978 LogRel(("HM: Host CR4 = %#RX64\n", pVM->hm.s.vmx.u64HostCr4)); 979 979 LogRel(("HM: MSR_IA32_FEATURE_CONTROL = %#RX64\n", pVM->hm.s.vmx.msr.feature_ctrl)); 980 980 LogRel(("HM: MSR_IA32_VMX_BASIC_INFO = %#RX64\n", pVM->hm.s.vmx.msr.vmx_basic_info)); … … 1258 1258 #if RT_ARCH_X86 1259 1259 if ( !CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE) 1260 || !(pVM->hm.s.vmx. hostEFER& MSR_K6_EFER_NXE))1260 || !(pVM->hm.s.vmx.u64HostEfer & MSR_K6_EFER_NXE)) 1261 1261 LogRel(("NX is only supported for 64-bit guests!\n")); 1262 1262 #endif … … 1267 1267 /** @todo this needs to be fixed properly!! */ 1268 1268 else if ( CPUMGetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE) 1269 && (pVM->hm.s.vmx. hostEFER& MSR_K6_EFER_NXE))1269 && (pVM->hm.s.vmx.u64HostEfer & MSR_K6_EFER_NXE)) 1270 1270 CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_NX); 1271 1271 else -
trunk/src/VBox/VMM/include/HMInternal.h
r48209 r48210 354 354 #endif 355 355 /** Host CR4 value (set by ring-0 VMX init) */ 356 uint64_t hostCR4;356 uint64_t u64HostCr4; 357 357 358 358 /** Host EFER value (set by ring-0 VMX init) */ 359 uint64_t hostEFER;359 uint64_t u64HostEfer; 360 360 361 361 /** VMX MSR values */ -
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
r48100 r48210 405 405 /* hm - 32-bit gcc won't align uint64_t naturally, so check. */ 406 406 CHECK_MEMBER_ALIGNMENT(HM, uMaxAsid, 8); 407 CHECK_MEMBER_ALIGNMENT(HM, vmx. hostCR4, 8);407 CHECK_MEMBER_ALIGNMENT(HM, vmx.u64HostCr4, 8); 408 408 CHECK_MEMBER_ALIGNMENT(HM, vmx.msr.feature_ctrl, 8); 409 409 CHECK_MEMBER_ALIGNMENT(HM, StatTprPatchSuccess, 8);
Note:
See TracChangeset
for help on using the changeset viewer.