[vbox-dev] Configuration values
Knut St. Osmundsen
knut.osmundsen at oracle.com
Tue Aug 31 08:44:45 PDT 2010
Glenn Tremblay wrote:
> I’m looking through the VMMDev PCI device constructor function (in
> VMMDev.cpp) and I see the following code that validates the existence of
> VMMDev config parameters;
>
>
>
> /*
>
> * Validate and read the configuration.
>
> */
>
> if (!CFGMR3AreValuesValid(pCfg,
>
> "GetHostTimeDisabled\0"
>
> "BackdoorLogDisabled\0"
>
> "KeepCredentials\0"
>
> "HeapEnabled\0"
>
> ))
>
> return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES;
>
>
>
> But I do not see anywhere in the OSE source tree where or how such
> parameters are set. Could someone point me in the right direction?
>
> Thank you,
>
"HeapEnabled" is set in ConsoleImpl2.cpp, see:
http://www.virtualbox.org/browser/trunk/src/VBox/Main/ConsoleImpl2.cpp#L1765
The other parameters are unused at the moment, i.e. we use the defaults.
--
Kind regards / Mit freundlichen Gruessen / Vennlig hilsen,
bird
--
ORACLE Deutschland B.V. & Co. KG Knut St. Osmundsen
Werkstrasse 24 Senior Staff Engineer, VirtualBox
71384 Weinstadt, Germany mailto:bird at sun.com
Hauptverwaltung: Riesstr. 25, D-80992 Muenchen
Registergericht: Amtsgericht Muenchen, HRA 95603
Komplementaerin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschaeftsfuehrer: J. Kunz, M. van de Molen, A. van der Ven
More information about the vbox-dev
mailing list