Changeset 23011 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 14, 2009 3:57:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/VMAll.cpp
r22915 r23011 261 261 */ 262 262 int rc; 263 PVMREQ pReq;264 263 if ( !(fFlags & VMSETRTERR_FLAGS_NO_WAIT) 265 264 || VM_IS_EMT(pVM)) … … 269 268 va_list va2; 270 269 va_copy(va2, va); /* Have to make a copy here or GCC will break. */ 271 rc = VMR3ReqCall U(pVM->pUVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, VMREQFLAGS_VBOX_STATUS,272 (PFNRT)vmR3SetRuntimeErrorV, 5, pVM, fFlags, pszErrorId, pszFormat, &va2);270 rc = VMR3ReqCallWaitU(pVM->pUVM, VMCPUID_ANY, 271 (PFNRT)vmR3SetRuntimeErrorV, 5, pVM, fFlags, pszErrorId, pszFormat, &va2); 273 272 va_end(va2); 274 if (RT_SUCCESS(rc))275 rc = pReq->iStatus;276 273 } 277 274 else 278 275 { 279 276 char *pszMessage = MMR3HeapAPrintfV(pVM, MM_TAG_VM, pszFormat, va); 280 281 rc = VMR3ReqCallU(pVM->pUVM, VMCPUID_ANY, &pReq, 0, VMREQFLAGS_VBOX_STATUS | VMREQFLAGS_NO_WAIT, 282 (PFNRT)vmR3SetRuntimeError, 4, pVM, fFlags, pszErrorId, pszMessage); 277 rc = VMR3ReqCallNoWaitU(pVM->pUVM, VMCPUID_ANY, 278 (PFNRT)vmR3SetRuntimeError, 4, pVM, fFlags, pszErrorId, pszMessage); 283 279 if (RT_FAILURE(rc)) 284 280 MMR3HeapFree(pszMessage); 285 281 } 286 VMR3ReqFree(pReq);287 282 288 283 #else
Note:
See TracChangeset
for help on using the changeset viewer.