Changeset 93922 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 24, 2022 3:14:31 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150150
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r93905 r93922 4264 4264 * disabled will automatically prevent exposing features that rely on 4265 4265 */ 4266 rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxEpt", &pVM->cpum.s.fNestedVmxEpt, false);4266 rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxEpt", &pVM->cpum.s.fNestedVmxEpt, true); 4267 4267 AssertLogRelRCReturn(rc, rc); 4268 4268 … … 4272 4272 * it. 4273 4273 */ 4274 rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxUnrestrictedGuest", &pVM->cpum.s.fNestedVmxUnrestrictedGuest, false);4274 rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedVmxUnrestrictedGuest", &pVM->cpum.s.fNestedVmxUnrestrictedGuest, true); 4275 4275 AssertLogRelRCReturn(rc, rc); 4276 4276 -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r93905 r93922 1080 1080 { 1081 1081 PVMCPU pVCpu = pVM->apCpusR3[idCpu]; 1082 PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1082 PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1083 1083 } 1084 1084 } -
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r93905 r93922 1024 1024 { 1025 1025 PVMCPU pVCpu = pVM->apCpusR3[i]; 1026 rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1026 rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1027 1027 if (RT_FAILURE(rc)) 1028 1028 break; … … 1647 1647 pVM->pgm.s.HCPhysInvMmioPg |= UINT64_C(0x000f0000000000); 1648 1648 } 1649 Assert(pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth == cMaxPhysAddrWidth); 1649 /* Disabled the below assertion -- triggers 24 vs 39 on my Intel Skylake box for a 32-bit (Guest-type Other/Unknown) VM. */ 1650 //AssertMsg(pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth == cMaxPhysAddrWidth, 1651 // ("CPUM %u - PGM %u\n", pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth, cMaxPhysAddrWidth)); 1650 1652 #else 1651 1653 uint32_t const cMaxPhysAddrWidth = pVM->cpum.ro.GuestFeatures.cMaxPhysAddrWidth; … … 1852 1854 pVCpu->pgm.s.GCPhysNstGstCR3 = NIL_RTGCPHYS; 1853 1855 1854 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1856 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1855 1857 AssertReleaseRC(rc); 1856 1858 … … 1918 1920 PVMCPU pVCpu = pVM->apCpusR3[i]; 1919 1921 1920 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL );1922 int rc = PGMHCChangeMode(pVM, pVCpu, PGMMODE_REAL, false /* fForce */); 1921 1923 AssertReleaseRC(rc); 1922 1924 … … 2298 2300 { 2299 2301 pVCpu->pgm.s.enmShadowMode = PGMMODE_INVALID; 2300 int rc = PGMHCChangeMode(pVM, pVCpu, PGMGetGuestMode(pVCpu) );2302 int rc = PGMHCChangeMode(pVM, pVCpu, PGMGetGuestMode(pVCpu), false /* fForce */); 2301 2303 Assert(VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_PGM_SYNC_CR3)); 2302 2304 AssertRCReturn(rc, rc); -
trunk/src/VBox/VMM/VMMR3/PGMSavedState.cpp
r93716 r93922 3190 3190 PVMCPU pVCpu = pVM->apCpusR3[i]; 3191 3191 3192 rc = PGMHCChangeMode(pVM, pVCpu, pVCpu->pgm.s.enmGuestMode );3192 rc = PGMHCChangeMode(pVM, pVCpu, pVCpu->pgm.s.enmGuestMode, false /* fForce */); 3193 3193 AssertLogRelRCReturn(rc, rc); 3194 3194
Note:
See TracChangeset
for help on using the changeset viewer.