Virtuozzo Virtualization SDK C API Reference
The PrlVm_GetPackedProblemReport function obtains a Packed problem report on abnormal virtual machine termination.
If a virtual machine stops running abnormally, you call this function to obtain a report from the Virtuozzo Service describing the problem.
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
To get the results from the PHT_JOB object:
Use the PrlResult_GetParamAsString function to obtain a string containing path to the report directory.