Changeset 6298 in vbox
- Timestamp:
- Jan 9, 2008 4:21:32 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27163
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMPagePool.cpp
r5999 r6298 313 313 if (pPool->fLow) 314 314 VMSetError(pPool->pVM, rc, RT_SRC_POS, 315 N_("Failed to expand page pool for memory below 4GB. current size: %d pages \n"),315 N_("Failed to expand page pool for memory below 4GB. current size: %d pages"), 316 316 pPool->cPages); 317 317 AssertMsgFailed(("Failed to expand pool%s. rc=%Vrc poolsize=%d\n", -
trunk/src/VBox/VMM/TM.cpp
r6183 r6298 222 222 && g_pSUPGlobalInfoPage->u32UpdateIntervalNS >= 250000000 /* 0.25s */) 223 223 return VMSetError(pVM, VERR_INTERNAL_ERROR, RT_SRC_POS, 224 N_("The GIP update interval is too big. u32UpdateIntervalNS=%RU32 (u32UpdateHz=%RU32) \n"),224 N_("The GIP update interval is too big. u32UpdateIntervalNS=%RU32 (u32UpdateHz=%RU32)"), 225 225 g_pSUPGlobalInfoPage->u32UpdateIntervalNS, g_pSUPGlobalInfoPage->u32UpdateHz); 226 226 … … 271 271 else if (VBOX_FAILURE(rc)) 272 272 return VMSetError(pVM, rc, RT_SRC_POS, 273 N_("Configuration error: Failed to querying bool value \"UseRealTSC\" . (%Vrc)"), rc);273 N_("Configuration error: Failed to querying bool value \"UseRealTSC\"")); 274 274 275 275 /* source */ … … 279 279 else if (VBOX_FAILURE(rc)) 280 280 return VMSetError(pVM, rc, RT_SRC_POS, 281 N_("Configuration error: Failed to querying bool value \"UseRealTSC\" . (%Vrc)"), rc);281 N_("Configuration error: Failed to querying bool value \"UseRealTSC\"")); 282 282 if (!pVM->tm.s.fTSCUseRealTSC) 283 283 pVM->tm.s.fTSCVirtualized = true; … … 307 307 else if (VBOX_FAILURE(rc)) 308 308 return VMSetError(pVM, rc, RT_SRC_POS, 309 N_("Configuration error: Failed to querying uint64_t value \"TSCTicksPerSecond\" . (%Vrc)"), rc);309 N_("Configuration error: Failed to querying uint64_t value \"TSCTicksPerSecond\"")); 310 310 else if ( pVM->tm.s.cTSCTicksPerSecond < _1M 311 311 || pVM->tm.s.cTSCTicksPerSecond >= _4G) … … 336 336 else if (VBOX_FAILURE(rc)) 337 337 return VMSetError(pVM, rc, RT_SRC_POS, 338 N_("Configuration error: Failed to querying 32-bit integer value \"ScheduleSlack\" . (%Vrc)"), rc);338 N_("Configuration error: Failed to querying 32-bit integer value \"ScheduleSlack\"")); 339 339 340 340 rc = CFGMR3QueryU64(pCfgHandle, "CatchUpStopThreshold", &pVM->tm.s.u64VirtualSyncCatchUpStopThreshold); … … 343 343 else if (VBOX_FAILURE(rc)) 344 344 return VMSetError(pVM, rc, RT_SRC_POS, 345 N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpStopThreshold\" . (%Vrc)"), rc);345 N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpStopThreshold\"")); 346 346 347 347 rc = CFGMR3QueryU64(pCfgHandle, "CatchUpGiveUpThreshold", &pVM->tm.s.u64VirtualSyncCatchUpGiveUpThreshold); … … 350 350 else if (VBOX_FAILURE(rc)) 351 351 return VMSetError(pVM, rc, RT_SRC_POS, 352 N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpGiveUpThreshold\" . (%Vrc)"), rc);352 N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpGiveUpThreshold\"")); 353 353 354 354 … … 361 361 u64 = UINT64_C(DefStart); \ 362 362 else if (VBOX_FAILURE(rc)) \ 363 return VMSetError(pVM, rc, RT_SRC_POS, N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpThreshold" #iPeriod "\" . (%Vrc)"), rc); \363 return VMSetError(pVM, rc, RT_SRC_POS, N_("Configuration error: Failed to querying 64-bit integer value \"CatchUpThreshold" #iPeriod "\"")); \ 364 364 if ( (iPeriod > 0 && u64 <= pVM->tm.s.aVirtualSyncCatchUpPeriods[iPeriod - 1].u64Start) \ 365 365 || u64 >= pVM->tm.s.u64VirtualSyncCatchUpGiveUpThreshold) \ … … 370 370 pVM->tm.s.aVirtualSyncCatchUpPeriods[iPeriod].u32Percentage = (DefPct); \ 371 371 else if (VBOX_FAILURE(rc)) \ 372 return VMSetError(pVM, rc, RT_SRC_POS, N_("Configuration error: Failed to querying 32-bit integer value \"CatchUpPrecentage" #iPeriod "\" . (%Vrc)"), rc); \372 return VMSetError(pVM, rc, RT_SRC_POS, N_("Configuration error: Failed to querying 32-bit integer value \"CatchUpPrecentage" #iPeriod "\"")); \ 373 373 } while (0) 374 374 /* This needs more tuning. Not sure if we really need so many period and be so gentle. */ … … 394 394 else if (VBOX_FAILURE(rc)) 395 395 return VMSetError(pVM, rc, RT_SRC_POS, 396 N_("Configuration error: Failed to querying 64-bit integer value \"UTCOffset\" . (%Vrc)"), rc);396 N_("Configuration error: Failed to querying 64-bit integer value \"UTCOffset\"")); 397 397 398 398 /* … … 406 406 else if (VBOX_FAILURE(rc)) 407 407 return VMSetError(pVM, rc, RT_SRC_POS, 408 N_("Configuration error: Failed to querying uint32_t value \"WarpDrivePercent\" . (%Vrc)"), rc);408 N_("Configuration error: Failed to querying uint32_t value \"WarpDrivePercent\"")); 409 409 else if ( pVM->tm.s.u32VirtualWarpDrivePercentage < 2 410 410 || pVM->tm.s.u32VirtualWarpDrivePercentage > 20000) … … 425 425 else if (VBOX_FAILURE(rc)) 426 426 return VMSetError(pVM, rc, RT_SRC_POS, 427 N_("Configuration error: Failed to query uint32_t value \"TimerMillies\" , rc=%Vrc.\n"), rc);427 N_("Configuration error: Failed to query uint32_t value \"TimerMillies\"")); 428 428 rc = RTTimerCreate(&pVM->tm.s.pTimer, u32Millies, tmR3TimerCallback, pVM); 429 429 if (VBOX_FAILURE(rc)) -
trunk/src/VBox/VMM/VM.cpp
r5999 r6298 270 270 break; 271 271 default: 272 pszError = N_("Unknown error creating VM (%Vrc)"); 272 /* XXX check if there was already an error message set! */ 273 pszError = N_("Unknown error creating VM"); 273 274 AssertMsgFailed(("Add error message for rc=%d (%Vrc)\n", rc, rc)); 274 275 } … … 363 364 break; 364 365 default: 365 pszError = N_("Unknown error initializing kernel driver (%Vrc)");366 pszError = N_("Unknown error initializing kernel driver"); 366 367 AssertMsgFailed(("Add error message for rc=%d (%Vrc)\n", rc, rc)); 367 368 } … … 1181 1182 { 1182 1183 vmR3SetState(pVM, VMSTATE_LOAD_FAILURE); 1183 rc = VMSetError(pVM, rc, RT_SRC_POS, N_("Unable to restore the virtual machine's saved state from '%s'. It may be damaged or from an older version of VirtualBox. Please discard the saved state before starting the virtual machine . (Error: %Vrc)"), pszFilename, rc);1184 rc = VMSetError(pVM, rc, RT_SRC_POS, N_("Unable to restore the virtual machine's saved state from '%s'. It may be damaged or from an older version of VirtualBox. Please discard the saved state before starting the virtual machine"), pszFilename); 1184 1185 } 1185 1186
Note:
See TracChangeset
for help on using the changeset viewer.