Let me add that there is a generic CFGM overlay feature which allows you to set those parameters, e.g. VBoxManage setextradata VMNAME "VBoxInternal2/<CFGM path>". So for the "GetHostTimeDisabled", that would prevent the VM from querying the host time (for security reasons) and you can set that using VBoxManage. A lot of less common functionality is exposed that way.
Achim. On Aug 31, 2010, at 17:44 , Knut St. Osmundsen wrote: > 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:[email protected] > > 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 > > > _______________________________________________ > vbox-dev mailing list > [email protected] > http://vbox.innotek.de/mailman/listinfo/vbox-dev --- Achim Hasenmüller | Director Engineering VirtualBox Phone: +49 (0) 7151 60405-150 Oracle Virtualization ORACLE Deutschland B.V. & Co. KG | Werkstrasse 24 | 71384 Weinstadt ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Rijnzathe 6, 3454PV De Meern, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
