Virtuozzo Virtualization SDK C API Reference
|
Sets the name of the network adapter to which a virtual network adapter inside a virtual machine will bind.
PRL_RESULT PrlVmDevNet_SetBoundAdapterName( PRL_HANDLE hVmDev, PRL_CONST_STR sNewBoundAdapterName );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
In a bridged networking mode, a network adapter inside a virtual machine is bound to an adapter on the host. This function allows to set the name of the adapter to bind to.