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

Enables the Automatic HDD compress feature in a virtual machine.

Syntax
PRL_RESULT PrlVmCfg_SetAutoCompressEnabled(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL bEnabled
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
bEnabled
Action type. Specify PRL_TRUE to enable Automatic HDD compress. Specify PRL_FALSE to disable it.

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 time intervals. The feature recommends Virtuozzo Tools installed in a virtual machine.

See Also

PrlVmCfg_SetAutoCompressdInterval PrlVmCfg_SetFreeDiskSpaceRatio

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