Changeset 62340 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Jul 20, 2016 8:21:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r62334 r62340 4924 4924 } 4925 4925 # ifdef VBOX_ENABLE_64_BITS_GUESTS 4926 /* Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design. See @bugref{8432#c7}. 4927 * If Real-on-V86 is active, clear the 64-bit switcher flag because now we know the guest is in a sane 4926 /* 4927 * Keep using the 64-bit switcher even though we're in 32-bit because of bad Intel design, see @bugref{8432#c7}. 4928 * If real-on-v86 mode is active, clear the 64-bit switcher flag because now we know the guest is in a sane 4928 4929 * state where it's safe to use the 32-bit switcher. Otherwise check the guest state if it's safe to use 4929 4930 * the much faster 32-bit switcher again. … … 4938 4939 { 4939 4940 Assert(pVCpu->hm.s.vmx.pfnStartVM == VMXR0SwitcherStartVM64); 4940 if (pVCpu->hm.s.vmx.RealMode.fRealOnV86Active || hmR0VmxIs32BitSwitcherSafe(pVCpu, pMixedCtx)) 4941 if ( pVCpu->hm.s.vmx.RealMode.fRealOnV86Active 4942 || hmR0VmxIs32BitSwitcherSafe(pVCpu, pMixedCtx)) 4941 4943 { 4942 4944 pVCpu->hm.s.vmx.fSwitchedTo64on32 = false; … … 4944 4946 HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_EFER_MSR | HM_CHANGED_VMX_ENTRY_CTLS | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_HOST_CONTEXT); 4945 4947 Log4(("Load[%RU32]: hmR0VmxSetupVMRunHandler: selected 32-bit switcher (safe)\n", pVCpu->idCpu)); 4946 } 4948 } 4947 4949 } 4948 4950 # else
Note:
See TracChangeset
for help on using the changeset viewer.