Changeset 87547 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 2, 2021 5:33:49 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 142573
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r87546 r87547 578 578 if ( fAllowUnrestricted 579 579 && (fCaps & SUPVTCAPS_VTX_UNRESTRICTED_GUEST)) 580 pVM->hm.s.vmx.fUnrestrictedGuest = true;580 pVM->hm.s.vmx.fUnrestrictedGuestCfg = true; 581 581 else 582 Assert(!pVM->hm.s.vmx.fUnrestrictedGuest );582 Assert(!pVM->hm.s.vmx.fUnrestrictedGuestCfg); 583 583 } 584 584 } … … 1566 1566 || (pVM->hm.s.vmx.MsrsForRing3.ProcCtls2.n.allowed1 & VMX_PROC_CTLS2_EPT), 1567 1567 VERR_HM_IPE_1); 1568 AssertLogRelReturn( !pVM->hm.s.vmx.fUnrestrictedGuest 1568 AssertLogRelReturn( !pVM->hm.s.vmx.fUnrestrictedGuestCfg 1569 1569 || ( (pVM->hm.s.vmx.MsrsForRing3.ProcCtls2.n.allowed1 & VMX_PROC_CTLS2_UNRESTRICTED_GUEST) 1570 1570 && pVM->hm.s.fNestedPagingCfg), … … 1583 1583 } 1584 1584 1585 if (!pVM->hm.s.vmx.fUnrestrictedGuest )1585 if (!pVM->hm.s.vmx.fUnrestrictedGuestCfg) 1586 1586 { 1587 1587 /* Allocate three pages for the TSS we need for real mode emulation. (2 pages for the IO bitmap) */ … … 1706 1706 LogRel(("HM: EPT flush type = %#x\n", pVM->hm.s.vmx.enmTlbFlushEptForRing3)); 1707 1707 1708 if (pVM->hm.s.vmx.fUnrestrictedGuest )1708 if (pVM->hm.s.vmx.fUnrestrictedGuestCfg) 1709 1709 LogRel(("HM: Enabled unrestricted guest execution\n")); 1710 1710 … … 1717 1717 } 1718 1718 else 1719 Assert(!pVM->hm.s.vmx.fUnrestrictedGuest );1719 Assert(!pVM->hm.s.vmx.fUnrestrictedGuestCfg); 1720 1720 1721 1721 if (pVM->hm.s.vmx.fVpidForRing3) … … 2638 2638 */ 2639 2639 if ( pVM->hm.s.vmx.fEnabled 2640 && !pVM->hm.s.vmx.fUnrestrictedGuest 2640 && !pVM->hm.s.vmx.fUnrestrictedGuestCfg 2641 2641 && CPUMIsGuestInRealModeEx(pCtx) 2642 2642 && !PDMVmmDevHeapIsEnabled(pVM)) … … 2852 2852 PVM pVM = pUVM->pVM; 2853 2853 VM_ASSERT_VALID_EXT_RETURN(pVM, false); 2854 return pVM->hm.s.vmx.fUnrestrictedGuest 2854 return pVM->hm.s.vmx.fUnrestrictedGuestCfg 2855 2855 || pVM->hm.s.svm.fSupported; 2856 2856 }
Note:
See TracChangeset
for help on using the changeset viewer.