Virtuozzo Virtualization SDK C API Reference
|
Determines the minimum amount of physical memory that must be reserved for Virtuozzo Service operation.
PRL_RESULT PrlDispCfg_GetMinReservMemLimit( PRL_HANDLE hDispConfig, PRL_UINT32_PTR pnMemSize );
PrlApiDisp.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
By default, memory limits and the actual size of the reserved memory are calculated automatically based on the total RAM available on the host machine. If needed, you can modify the default values. When setting the size of the memory reserved on the host machine for Virtuozzo Service, use this function to find out the minimum required size.