Changeset 57376 in vbox
- Timestamp:
- Aug 17, 2015 11:42:19 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VM.cpp
r57358 r57376 3832 3832 * @thread Any thread. 3833 3833 */ 3834 static int vmR3SetErrorU(PUVM pUVM, int rc, RT_SRC_POS_DECL, const char *pszFormat, ...) 3834 static int vmR3SetErrorU(PUVM pUVM, int rc, RT_SRC_POS_DECL, const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(6, 7) 3835 3835 { 3836 3836 va_list va; … … 3939 3939 { 3940 3940 UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); 3941 3942 /* Take shortcut when called on EMT, skipping VM handle requirement + validation. */ 3943 if (VMR3GetVMCPUThread(pUVM) != NIL_RTTHREAD) 3944 { 3945 vmR3SetErrorUV(pUVM, rc, RT_SRC_POS_ARGS, pszFormat, &va); 3946 return rc; 3947 } 3948 3941 3949 VM_ASSERT_VALID_EXT_RETURN(pUVM->pVM, VERR_INVALID_VM_HANDLE); 3942 3950 return VMSetErrorV(pUVM->pVM, rc, pszFile, iLine, pszFunction, pszFormat, va);
Note:
See TracChangeset
for help on using the changeset viewer.