Changeset 56873 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 8, 2015 3:31:28 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r56094 r56873 3718 3718 && pVM->cpum.s.HostFeatures.fXSaveRstor 3719 3719 && pVM->cpum.s.HostFeatures.fOpSysXSaveRstor; 3720 uint64_t const fXStateHostMask = pVM->cpum.s.fXStateHostMask; 3720 3721 3721 3722 /** @cfgm{/CPUM/IsaExts/XSAVE, boolean, depends} … … 3735 3736 */ 3736 3737 rc = cpumR3CpuIdReadIsaExtCfgEx(pVM, pIsaExts, "AVX", &pConfig->enmAvx, fNestedPagingAndFullGuestExec, 3737 fMayHaveXSave && pConfig->enmXSave /*fAllowed*/);3738 fMayHaveXSave && pConfig->enmXSave && (fXStateHostMask & XSAVE_C_YMM) /*fAllowed*/); 3738 3739 AssertLogRelRCReturn(rc, rc); 3739 3740 … … 3744 3745 */ 3745 3746 rc = cpumR3CpuIdReadIsaExtCfgEx(pVM, pIsaExts, "AVX2", &pConfig->enmAvx2, fNestedPagingAndFullGuestExec, 3746 fMayHaveXSave && pConfig->enmXSave /*fAllowed*/);3747 fMayHaveXSave && pConfig->enmXSave && (fXStateHostMask & XSAVE_C_YMM) /*fAllowed*/); 3747 3748 AssertLogRelRCReturn(rc, rc); 3748 3749
Note:
See TracChangeset
for help on using the changeset viewer.