Changeset 56618 in vbox
- Timestamp:
- Jun 24, 2015 12:12:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r56572 r56618 344 344 { 345 345 /** @todo move this into a separate function. */ 346 g_HmR0.vmx.Msrs.u64FeatureCtrl = ASMRdMsr(MSR_IA32_FEATURE_CONTROL);347 348 346 /* 349 347 * First try use native kernel API for controlling VT-x. … … 374 372 if (RT_SUCCESS(g_HmR0.lLastError)) 375 373 { 376 /* Reread in case it was changed by hmR0InitIntelCpu(). */377 g_HmR0.vmx.Msrs.u64FeatureCtrl = ASMRdMsr(MSR_IA32_FEATURE_CONTROL);378 379 374 /* 380 375 * Read all relevant registers and MSRs. … … 382 377 g_HmR0.vmx.u64HostCr4 = ASMGetCR4(); 383 378 g_HmR0.vmx.u64HostEfer = ASMRdMsr(MSR_K6_EFER); 379 g_HmR0.vmx.Msrs.u64FeatureCtrl = ASMRdMsr(MSR_IA32_FEATURE_CONTROL); 384 380 g_HmR0.vmx.Msrs.u64BasicInfo = ASMRdMsr(MSR_IA32_VMX_BASIC_INFO); 385 381 g_HmR0.vmx.Msrs.VmxPinCtls.u = ASMRdMsr(MSR_IA32_VMX_PINBASED_CTLS);
Note:
See TracChangeset
for help on using the changeset viewer.