Changeset 45804 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 29, 2013 12:03:31 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r45786 r45804 400 400 AssertRCReturn(rc, rc); 401 401 402 /** @cfgm{/HM/EnableUnrestrictedExec, bool, true} 403 * Enables the VT-x unrestricted execution feature. */ 404 rc = CFGMR3QueryBoolDef(pCfgHM, "EnableUnrestrictedExec", &pVM->hm.s.vmx.fAllowUnrestricted, true); 405 AssertRCReturn(rc, rc); 406 402 407 /** @cfgm{/HM/EnableLargePages, bool, false} 403 408 * Enables using large pages (2 MB) for guest memory, thus saving on (nested) … … 1127 1132 } 1128 1133 1129 /* Unrestricted guest execution relies on EPT. */ 1130 if ( pVM->hm.s.fNestedPaging 1134 /* Unrestricted guest execution also requires EPT. */ 1135 if ( pVM->hm.s.vmx.fAllowUnrestricted 1136 && pVM->hm.s.fNestedPaging 1131 1137 && (pVM->hm.s.vmx.msr.vmx_proc_ctls2.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC2_UNRESTRICTED_GUEST)) 1132 1138 pVM->hm.s.vmx.fUnrestrictedGuest = true; -
trunk/src/VBox/VMM/include/HMInternal.h
r45786 r45804 334 334 bool fAllowVpid; 335 335 336 /** Set if unrestricted guest execution is allowed(real and protected mode without paging). */336 /** Set if unrestricted guest execution is in use (real and protected mode without paging). */ 337 337 bool fUnrestrictedGuest; 338 339 /** Set if unrestricted guest execution is allowed to be used. */ 340 bool fAllowUnrestricted; 338 341 339 342 /** Whether we're using the preemption timer or not. */ … … 341 344 /** The shift mask employed by the VMX-Preemption timer. */ 342 345 uint8_t cPreemptTimerShift; 343 344 bool uAlignment[1];345 346 346 347 /** Virtual address of the TSS page used for real mode emulation. */
Note:
See TracChangeset
for help on using the changeset viewer.