Changeset 44340 in vbox for trunk/src/VBox/VMM/testcase/tstVMMFork.cpp
- Timestamp:
- Jan 23, 2013 4:20:07 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83296
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstVMMFork.cpp
r41965 r44340 67 67 RTPrintf(TESTCASE ": Initializing...\n"); 68 68 PVM pVM; 69 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM); 69 PUVM pUVM; 70 int rc = VMR3Create(1, NULL, NULL, NULL, NULL, NULL, &pVM, &pUVM); 70 71 if (RT_SUCCESS(rc)) 71 72 { … … 132 133 RTPrintf(TESTCASE ": fork() returned fine.\n"); 133 134 RTPrintf(TESTCASE ": testing VM after fork.\n"); 134 VMR3ReqCallWait (pVM, VMCPUID_ANY, (PFNRT)VMMDoTest, 1, pVM);135 VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)VMMDoTest, 1, pVM); 135 136 136 137 STAMR3Dump(pVM, "*"); … … 146 147 * Cleanup. 147 148 */ 148 rc = VMR3PowerOff(p VM);149 rc = VMR3PowerOff(pUVM); 149 150 if (!RT_SUCCESS(rc)) 150 151 { … … 152 153 rcErrors++; 153 154 } 154 rc = VMR3Destroy(p VM);155 rc = VMR3Destroy(pUVM); 155 156 if (!RT_SUCCESS(rc)) 156 157 { … … 158 159 rcErrors++; 159 160 } 161 VMR3ReleaseUVM(pUVM); 160 162 } 161 163 else
Note:
See TracChangeset
for help on using the changeset viewer.