Changeset 853 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 13, 2007 9:58:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r323 r853 373 373 if (VBOX_SUCCESS(rc)) 374 374 { 375 VMSTATE enmVMState = VMR3GetState(pVM); 376 375 377 rc = MMR3PhysRegisterEx(pVM, pvRam, GCPhys, PGM_DYNAMIC_CHUNK_SIZE, 0, MM_PHYS_TYPE_DYNALLOC_CHUNK, "Main Memory"); 376 if (VBOX_SUCCESS(rc)) 378 if ( VBOX_SUCCESS(rc) 379 || enmVMState != VMSTATE_RUNNING) 380 { 381 if (VBOX_FAILURE(rc)) 382 { 383 AssertMsgFailed(("Out of memory while trying to allocate a guest RAM chunk at %VGp!\n", GCPhys)); 384 LogRel(("PGM: Out of memory while trying to allocate a guest RAM chunk at %VGp (VMstate=%s)!\n", GCPhys, VMR3GetStateName(enmVMState))); 385 } 377 386 return rc; 387 } 378 388 379 389 SUPPageFree(pvRam);
Note:
See TracChangeset
for help on using the changeset viewer.