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