Virtuozzo Virtualization SDK C API Reference
|
Enables the Automatic HDD compress feature in a virtual machine.
PRL_RESULT PrlVmCfg_SetAutoCompressEnabled( PRL_HANDLE hVmCfg, PRL_BOOL bEnabled );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
Automatic HDD compress is feature that allows to make automatic compress of a virtual machine disks at predefined time intervals. The feature recommends Virtuozzo Tools installed in a virtual machine.
PrlVmCfg_SetAutoCompressdInterval PrlVmCfg_SetFreeDiskSpaceRatio