Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetCpuMask Function
PHT_VM_CONFIGURATION  See Also

Sets the CPU affinity for a virtual machine.

Syntax
PRL_RESULT PrlVmCfg_SetCpuMask(
    PRL_HANDLE hVmCfg, 
    PRL_CONST_STR sMask
);
File

PrlApiDeprecated.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
sMask
CPU affinity mask is represented by an cpu number or cpu range separated by the comma. (0,2,3-10)

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.