Virtuozzo Virtualization SDK C API Reference
|
Enables sharing of all host disks for the specified virtual machine.
PRL_RESULT PrlVmCfg_SetShareAllHostDisks( PRL_HANDLE hVmCfg, PRL_BOOL bShareAllHostDisks );
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 sign switched on all host disks will be shared into guest OS. Note that host sharing should be switched on to enable this functionality.
Virtuozzo Tools must be installed to use this feature. To obtain the Virtuozzo Tools status, use the PrlVm_GetToolsState function.