Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmCfg_SetFreeDiskSpaceRatio Function
PHT_VM_CONFIGURATION  See Also

Sets the time free disk space ratio at which compacting virtual disks are doing by Automatic HDD compress.

Syntax
PRL_RESULT PrlVmCfg_SetFreeDiskSpaceRatio(
    PRL_HANDLE hVmCfg, 
    PRL_DOUBLE dFreeDiskSpaceRatio
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
dFreeDiskSpaceRatio
The space ratio to set, in percents.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Automatic HDD compress is feature that allows to make automatic compress of a virtual machine disks at predefined space ratio. This function allows to set the space ratio at which the automatic compress are taken.

See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.