Changeset 19441 in vbox
- Timestamp:
- May 6, 2009 3:27:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r19435 r19441 1272 1272 LogFlow(("vmR3Resume: pVM=%p\n", pVM)); 1273 1273 1274 /*1275 * Validate input.1276 */1277 if (pVM->enmVMState != VMSTATE_SUSPENDED)1278 {1279 AssertMsgFailed(("Invalid VM state %d\n", pVM->enmVMState));1280 return VERR_VM_INVALID_VM_STATE;1281 }1282 1283 1274 PVMCPU pVCpu = VMMGetCpu(pVM); 1284 1275 /* Only VCPU 0 does the actual work (*before* the others wake up). */ 1285 1276 if (pVCpu->idCpu != 0) 1286 1277 return VINF_EM_RESUME; 1278 1279 /* 1280 * Validate input. 1281 */ 1282 if (pVM->enmVMState != VMSTATE_SUSPENDED) 1283 { 1284 AssertMsgFailed(("Invalid VM state %d\n", pVM->enmVMState)); 1285 return VERR_VM_INVALID_VM_STATE; 1286 } 1287 1287 1288 1288 /*
Note:
See TracChangeset
for help on using the changeset viewer.