Changeset 19300 in vbox for trunk/src/VBox/VMM/testcase
- Timestamp:
- May 1, 2009 6:06:59 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/testcase
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstAnimate.cpp
r14831 r19300 836 836 PVMREQ pReq1 = NULL; 837 837 if (FileRawMem != NIL_RTFILE) 838 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)loadMem, 3, pVM, FileRawMem, &offRawMem);838 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)loadMem, 3, pVM, FileRawMem, &offRawMem); 839 839 else 840 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)SSMR3Load, 4, pVM, pszSavedState, SSMAFTER_DEBUG_IT, NULL, NULL);840 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)SSMR3Load, 4, pVM, pszSavedState, SSMAFTER_DEBUG_IT, NULL, NULL); 841 841 AssertReleaseRC(rc); 842 842 rc = pReq1->iStatus; … … 849 849 if (FileScript != NIL_RTFILE) 850 850 { 851 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)scriptRun, 2, pVM, FileScript);851 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)scriptRun, 2, pVM, FileScript); 852 852 AssertReleaseRC(rc); 853 853 rc = pReq1->iStatus; … … 877 877 if (RT_SUCCESS(rc)) 878 878 { 879 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)EMR3RawSetMode, 2, pVM, EMRAW_NONE);879 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)EMR3RawSetMode, 2, pVM, EMRAW_NONE); 880 880 AssertReleaseRC(rc); 881 881 VMR3ReqFree(pReq1); -
trunk/src/VBox/VMM/testcase/tstMicro.cpp
r18927 r19300 354 354 */ 355 355 PVMREQ pReq1 = NULL; 356 rc = VMR3ReqCallVoid(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)doit, 1, pVM);356 rc = VMR3ReqCallVoid(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)doit, 1, pVM); 357 357 AssertRC(rc); 358 358 VMR3ReqFree(pReq1); -
trunk/src/VBox/VMM/testcase/tstVMM-2.cpp
r14831 r19300 363 363 { 364 364 PVMREQ pReq; 365 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)VMR3PowerOn, 1, pVM);365 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)VMR3PowerOn, 1, pVM); 366 366 if (RT_SUCCESS(rc)) 367 367 { … … 378 378 * Power Off the VM. 379 379 */ 380 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)VMR3PowerOff, 1, pVM);380 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)VMR3PowerOff, 1, pVM); 381 381 if (RT_SUCCESS(rc)) 382 382 { -
trunk/src/VBox/VMM/testcase/tstVMM-HwAccm.cpp
r14831 r19300 94 94 RTPrintf(TESTCASE ": Testing...\n"); 95 95 PVMREQ pReq1 = NULL; 96 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoHwAccmTest, 1, pVM);96 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoHwAccmTest, 1, pVM); 97 97 AssertRC(rc); 98 98 VMR3ReqFree(pReq1); -
trunk/src/VBox/VMM/testcase/tstVMM.cpp
r17364 r19300 76 76 RTPrintf(TESTCASE ": Testing...\n"); 77 77 PVMREQ pReq1 = NULL; 78 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoTest, 1, pVM);78 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoTest, 1, pVM); 79 79 AssertRC(rc); 80 80 VMR3ReqFree(pReq1); -
trunk/src/VBox/VMM/testcase/tstVMMFork.cpp
r14831 r19300 137 137 RTPrintf(TESTCASE ": testing VM after fork.\n"); 138 138 PVMREQ pReq1 = NULL; 139 rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoTest, 1, pVM);139 rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq1, RT_INDEFINITE_WAIT, (PFNRT)VMMDoTest, 1, pVM); 140 140 AssertRC(rc); 141 141 VMR3ReqFree(pReq1); -
trunk/src/VBox/VMM/testcase/tstVMREQ.cpp
r18645 r19300 135 135 136 136 PVMREQ pReq; 137 int rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)PassVACallback, 5,137 int rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)PassVACallback, 5, 138 138 pVM, _4K, _1G, pszFormat, pvVA); 139 139 if (RT_SUCCESS(rc)) … … 157 157 va_start(va1, pszFormat); 158 158 PVMREQ pReq; 159 int rc = VMR3ReqCall(pVM, VM REQDEST_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)PassVACallback, 5,159 int rc = VMR3ReqCall(pVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)PassVACallback, 5, 160 160 pVM, _4K, _1G, pszFormat, &va1); 161 161 if (RT_SUCCESS(rc)) … … 186 186 for (iReq = 0; iReq < cReqs; iReq++) 187 187 { 188 rc = VMR3ReqAlloc(pVM, &apReq[iReq], VMREQTYPE_INTERNAL, VM REQDEST_ANY);188 rc = VMR3ReqAlloc(pVM, &apReq[iReq], VMREQTYPE_INTERNAL, VMCPUID_ANY); 189 189 if (RT_FAILURE(rc)) 190 190 {
Note:
See TracChangeset
for help on using the changeset viewer.