Changeset 19427 in vbox
- Timestamp:
- May 6, 2009 1:12:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r19416 r19427 1068 1068 1069 1069 /* 1070 * Request the operation in EMT .1070 * Request the operation in EMT (in order as VCPU 0 does all the work) 1071 1071 */ 1072 1072 PVMREQ pReq; 1073 int rc = VMR3ReqCall(pVM, 0 /* VCPU 0 */, &pReq, RT_INDEFINITE_WAIT, (PFNRT)vmR3PowerOn, 1, pVM);1073 int rc = VMR3ReqCall(pVM, VMCPUID_ALL, &pReq, RT_INDEFINITE_WAIT, (PFNRT)vmR3PowerOn, 1, pVM); 1074 1074 if (RT_SUCCESS(rc)) 1075 1075 { … … 1103 1103 return VERR_VM_INVALID_VM_STATE; 1104 1104 } 1105 1106 PVMCPU pVCpu = VMMGetCpu(pVM); 1107 /* Only VCPU 0 does the actual work. */ 1108 if (pVCpu->idCpu != 0) 1109 return VINF_SUCCESS; 1105 1110 1106 1111 /*
Note:
See TracChangeset
for help on using the changeset viewer.