Changeset 45971 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 9, 2013 7:46:52 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/HM.cpp
r45963 r45971 400 400 AssertRCReturn(rc, rc); 401 401 402 /** @cfgm{/HM/EnableU nrestrictedExec, bool, true}402 /** @cfgm{/HM/EnableUX, bool, true} 403 403 * Enables the VT-x unrestricted execution feature. */ 404 rc = CFGMR3QueryBoolDef(pCfgHM, "EnableU nrestrictedExec", &pVM->hm.s.vmx.fAllowUnrestricted, true);404 rc = CFGMR3QueryBoolDef(pCfgHM, "EnableUX", &pVM->hm.s.vmx.fAllowUnrestricted, true); 405 405 AssertRCReturn(rc, rc); 406 406 … … 2821 2821 2822 2822 /** 2823 * Checks if we are currently using VT-x unrestricted execution, 2824 * aka UX. 2825 * 2826 * @returns true if UX is being used, otherwise false. 2827 * @param pUVM The user mode VM handle. 2828 */ 2829 VMMR3DECL(bool) HMR3IsUXActive(PUVM pUVM) 2830 { 2831 UVM_ASSERT_VALID_EXT_RETURN(pUVM, false); 2832 PVM pVM = pUVM->pVM; 2833 VM_ASSERT_VALID_EXT_RETURN(pVM, false); 2834 return pVM->hm.s.vmx.fUnrestrictedGuest; 2835 } 2836 2837 2838 /** 2823 2839 * Checks if internal events are pending. In that case we are not allowed to dispatch interrupts. 2824 2840 *
Note:
See TracChangeset
for help on using the changeset viewer.