Virtuozzo Virtualization SDK C API Reference
|
Enables or disables sharing of the host user home directory in the specified virtual machine.
PRL_RESULT PrlVmCfg_SetShareUserHomeDir( PRL_HANDLE hVmCfg, PRL_BOOL bShareUserHomeDir );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
When this feature is enabled, the host user home directory will be shared in the virtual machine. Note that host sharing should be enabled to use this functionality. Virtuozzo Tools must be installed to use this feature. To obtain the Virtuozzo Tools status, use the PrlVm_GetToolsState function.