Enables or disables VM name and guest hostname synchronization feature in a virtual machine.
PRL_RESULT PrlVmCfg_SetSyncVmHostnameEnabled( PRL_HANDLE hVmCfg, PRL_BOOL bEnabled );
PrlApiVm.h
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
You can synchronize hostname of the guest OS with the name of the virtual machine it is running on. Feature is available for Linux guests only.