Changeset 26173 in vbox for trunk/src/VBox/Devices/VMMDev
- Timestamp:
- Feb 2, 2010 9:11:09 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57187
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VMMDev.cpp
r26165 r26173 2516 2516 * @interface_method_impl{PDMDEVREG,pfnConstruct} 2517 2517 */ 2518 static DECLCALLBACK(int) vmmdevConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg Handle)2518 static DECLCALLBACK(int) vmmdevConstruct(PPDMDEVINS pDevIns, int iInstance, PCFGMNODE pCfg) 2519 2519 { 2520 2520 int rc; … … 2527 2527 * Validate and read the configuration. 2528 2528 */ 2529 if (!CFGMR3AreValuesValid(pCfg Handle,2529 if (!CFGMR3AreValuesValid(pCfg, 2530 2530 "GetHostTimeDisabled\0" 2531 2531 "BackdoorLogDisabled\0" … … 2535 2535 return VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES; 2536 2536 2537 rc = CFGMR3QueryBoolDef(pCfg Handle, "GetHostTimeDisabled", &pThis->fGetHostTimeDisabled, false);2537 rc = CFGMR3QueryBoolDef(pCfg, "GetHostTimeDisabled", &pThis->fGetHostTimeDisabled, false); 2538 2538 if (RT_FAILURE(rc)) 2539 2539 return PDMDEV_SET_ERROR(pDevIns, rc, 2540 2540 N_("Configuration error: Failed querying \"GetHostTimeDisabled\" as a boolean")); 2541 2541 2542 rc = CFGMR3QueryBoolDef(pCfg Handle, "BackdoorLogDisabled", &pThis->fBackdoorLogDisabled, false);2542 rc = CFGMR3QueryBoolDef(pCfg, "BackdoorLogDisabled", &pThis->fBackdoorLogDisabled, false); 2543 2543 if (RT_FAILURE(rc)) 2544 2544 return PDMDEV_SET_ERROR(pDevIns, rc, 2545 2545 N_("Configuration error: Failed querying \"BackdoorLogDisabled\" as a boolean")); 2546 2546 2547 rc = CFGMR3QueryBoolDef(pCfg Handle, "KeepCredentials", &pThis->fKeepCredentials, false);2547 rc = CFGMR3QueryBoolDef(pCfg, "KeepCredentials", &pThis->fKeepCredentials, false); 2548 2548 if (RT_FAILURE(rc)) 2549 2549 return PDMDEV_SET_ERROR(pDevIns, rc, 2550 2550 N_("Configuration error: Failed querying \"KeepCredentials\" as a boolean")); 2551 2551 2552 rc = CFGMR3QueryBoolDef(pCfg Handle, "HeapEnabled", &pThis->fHeapEnabled, true);2552 rc = CFGMR3QueryBoolDef(pCfg, "HeapEnabled", &pThis->fHeapEnabled, true); 2553 2553 if (RT_FAILURE(rc)) 2554 2554 return PDMDEV_SET_ERROR(pDevIns, rc,
Note:
See TracChangeset
for help on using the changeset viewer.