VirtualMachineBase.cpu¶
-
VirtualMachineBase.
cpu
(cpu_num)[source]¶ Get a virtual CPU (vCPU).
- Parameters
cpu_num (int) – The number of the vCPU to get.
- Returns
An object representing the vCPU for the current architecture of the virtual machine.
- Return type
- Raises
ValueError – If the requested vCPU number does not exists.
See also