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

Enables or disables the smart time-synchronization mode in a virtual machine.

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

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
bEnabled
Setting boolean value.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

You can automatically synchronize the time in a virtual machine with the time in the OS by using the PrlVmCfg_SetTimeSynchronizationEnabled function. That functionality will keep the time in the virtual machine in a perfect synch with the time in the host OS. You can also set different time zones in the host and the guest OS and still synchronize the time. To do so, use the PrlVmCfg_SetTimeSyncSmartModeEnabled function. This feature requires Virtuozzo Tools installed in a virtual machine.

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