/** * Display a piece of info writing to the supplied handler. * * @returns VBox status code. * @param pVM Pointer to the VM. * @param idCpu The CPU to exectue the request on. Pass NIL_VMCPUID * to not involve any EMT. * @param pszName The identifier of the info to display. * @param pszArgs Arguments to the info handler. * @param pHlp The output helper functions. If NULL the logger will be used. */ VMMR3DECL(int) DBGFR3InfoEx(PVM pVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) { if (idCpu == NIL_VMCPUID) return dbgfR3Info(pVM, VMCPUID_ANY, pszName, pszArgs, pHlp); return VMR3ReqPriorityCallWait(pVM, idCpu, (PFNRT)dbgfR3Info, 5, pVM, idCpu, pszName, pszArgs, pHlp); }
/** * Display a piece of info writing to the supplied handler. * * @returns VBox status code. * @param pUVM The user mode VM handle. * @param idCpu The CPU to exectue the request on. Pass NIL_VMCPUID * to not involve any EMT. * @param pszName The identifier of the info to display. * @param pszArgs Arguments to the info handler. * @param pHlp The output helper functions. If NULL the logger will be used. */ VMMR3DECL(int) DBGFR3InfoEx(PUVM pUVM, VMCPUID idCpu, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) { UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); if (idCpu == NIL_VMCPUID) return dbgfR3Info(pUVM, VMCPUID_ANY, pszName, pszArgs, pHlp); return VMR3ReqPriorityCallWaitU(pUVM, idCpu, (PFNRT)dbgfR3Info, 5, pUVM, idCpu, pszName, pszArgs, pHlp); }
/** * Display a piece of info writing to the supplied handler. * * @returns VBox status code. * @param pVM Pointer to the VM. * @param pszName The identifier of the info to display. * @param pszArgs Arguments to the info handler. * @param pHlp The output helper functions. If NULL the logger will be used. */ VMMR3DECL(int) DBGFR3Info(PVM pVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) { return dbgfR3Info(pVM, VMCPUID_ANY, pszName, pszArgs, pHlp); }
/** * Display a piece of info writing to the supplied handler. * * @returns VBox status code. * @param pUVM The user mode VM handle. * @param pszName The identifier of the info to display. * @param pszArgs Arguments to the info handler. * @param pHlp The output helper functions. If NULL the logger will be used. */ VMMR3DECL(int) DBGFR3Info(PUVM pUVM, const char *pszName, const char *pszArgs, PCDBGFINFOHLP pHlp) { UVM_ASSERT_VALID_EXT_RETURN(pUVM, VERR_INVALID_VM_HANDLE); return dbgfR3Info(pUVM, VMCPUID_ANY, pszName, pszArgs, pHlp); }