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

Enables the SmartGuard feature in a virtual machine.

Syntax
PRL_RESULT PrlVmCfg_SetSmartGuardEnabled(
    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 SmartGuard. 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

SmartGuard is feature that allows to make automatic snapshots of a virtual machine at predefined time intervals. The feature requires Virtuozzo Tools installed in a virtual machine.

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