Changeset 56719 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 1, 2015 5:06:06 AM (10 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CFGM.cpp
r56287 r56719 1184 1184 UPDATERC(); 1185 1185 1186 /* 1187 * VMMDev. 1188 */ 1189 rc = CFGMR3InsertNode(pDevices, "VMMDev", &pDev); 1190 UPDATERC(); 1191 rc = CFGMR3InsertNode(pDev, "0", &pInst); 1192 UPDATERC(); 1193 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); 1194 UPDATERC(); 1195 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ 1196 UPDATERC(); 1197 rc = CFGMR3InsertInteger(pCfg, "RamSize", 128U * _1M); 1198 UPDATERC(); 1186 1199 1187 1200 -
trunk/src/VBox/VMM/testcase/tstVMREQ.cpp
r56287 r56719 212 212 { 213 213 NOREF(pvUser); 214 int rc = CFGMR3ConstructDefaultTree(pVM); 215 if (RT_SUCCESS(rc)) 216 { 217 /* Disable HM, otherwise it will fail on machines without unrestricted guest execution 218 * because the allocation of HM_VTX_TOTAL_DEVHEAP_MEM will fail -- no VMMDev */ 219 PCFGMNODE pRoot = CFGMR3GetRoot(pVM); 220 rc = CFGMR3InsertInteger(pRoot, "HMEnabled", false); 221 if (RT_FAILURE(rc)) 222 RTPrintf("CFGMR3InsertInteger(pRoot,\"HMEnabled\",) -> %Rrc\n", rc); 223 } 224 return rc; 214 return CFGMR3ConstructDefaultTree(pVM); 225 215 } 226 216
Note:
See TracChangeset
for help on using the changeset viewer.