Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetCpuMask Function
PrlApi.h 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
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!