vbox5: disable support of unrestricted-guest mode

Currently, Ubuntu does not work in unrestricted-guest mode, so, disable
it until this is fixed.

Issue #2338
This commit is contained in:
Alexander Boettcher 2017-05-30 10:16:13 +02:00 committed by Christian Helmuth
parent 710947e0a3
commit c232886e0f

View File

@ -37,6 +37,12 @@ VMMR3DECL(int) HMR3Init(PVM pVM)
&pVM->hm.s.vmx.fAllowUnrestricted, true);
AssertRCReturn(rc, rc);
/* XXX fix Ubuntu and unrestricted guest support, disable by default atm */
if (pVM->hm.s.vmx.fAllowUnrestricted) {
pVM->hm.s.vmx.fAllowUnrestricted = false;
Genode::warning("unrestricted guest support disabled");
}
/* check whether to enable pae and nx bit - in 64bit host mode */
rc = CFGMR3QueryBoolDef(CFGMR3GetRoot(pVM), "EnablePAE", &enable_pae_nx,
false);