Changeset 19428 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 6, 2009 1:13:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r19427 r19428 1095 1095 LogFlow(("vmR3PowerOn: pVM=%p\n", pVM)); 1096 1096 1097 /*1098 * Validate input.1099 */1100 if (pVM->enmVMState != VMSTATE_CREATED)1101 {1102 AssertMsgFailed(("Invalid VM state %d\n", pVM->enmVMState));1103 return VERR_VM_INVALID_VM_STATE;1104 }1105 1106 1097 PVMCPU pVCpu = VMMGetCpu(pVM); 1107 1098 /* Only VCPU 0 does the actual work. */ 1108 1099 if (pVCpu->idCpu != 0) 1109 1100 return VINF_SUCCESS; 1101 1102 /* 1103 * Validate input. 1104 */ 1105 if (pVM->enmVMState != VMSTATE_CREATED) 1106 { 1107 AssertMsgFailed(("Invalid VM state %d\n", pVM->enmVMState)); 1108 return VERR_VM_INVALID_VM_STATE; 1109 } 1110 1110 1111 1111 /*
Note:
See TracChangeset
for help on using the changeset viewer.