Virtuozzo Virtualization SDK C API Reference
|
Determines the maximum memory size that can be allocated to an individual virtual machine.
PRL_RESULT PrlDispCfg_GetMaxVmMem( 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.
The actual amount of memory for a particular virtual machine is set in the virtual machine configuration and cannot exceed the value returned by this function.