Virtuozzo Virtualization SDK C API Reference
|
The PrlVmCfg_GetConfigValidity function returns an error code.
PRL_RESULT PrlVmCfg_GetConfigValidity( PRL_HANDLE hVmCfg, PRL_RESULT_PTR pnErrCode );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
The error code indicates the status of the config: config doesn't exist, parsing error, config can be restored and others errors.