Changeset 8794 in vbox for trunk/src/VBox
- Timestamp:
- May 13, 2008 5:43:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r8608 r8794 2257 2257 void vmR3SetState(PVM pVM, VMSTATE enmStateNew) 2258 2258 { 2259 /* 2260 * Validate state machine transitions before doing the actual change. 2261 */ 2259 2262 VMSTATE enmStateOld = pVM->enmVMState; 2263 switch (enmStateOld) 2264 { 2265 case VMSTATE_OFF: 2266 Assert(enmStateNew != VMSTATE_GURU_MEDITATION); 2267 break; 2268 2269 default: 2270 /** @todo full validation. */ 2271 break; 2272 } 2273 2260 2274 pVM->enmVMState = enmStateNew; 2261 2275 LogRel(("Changing the VM state from '%s' to '%s'.\n", VMR3GetStateName(enmStateOld), VMR3GetStateName(enmStateNew)));
Note:
See TracChangeset
for help on using the changeset viewer.