Enabling CPU Hotplug for Virtual MachinesIf a guest operating system supports the CPU hotplug functionality, you can enable this functionality for the virtual machine. Once the CPU hotplug functionality is turned on, you can increase the number of CPUs available to your virtual machines even if they are running. Note: Decreasing the number of CPUs available to a running virtual machine is not supported in the current version of Parallels Cloud Server. Currently, the following systems come with the CPU hotplug support: Linux (both x86 and x64 versions)
By default, the CPU hotplug support is disabled for all newly created virtual machines. To enable this functionality, you can use the
# prlctl set MyVM --cpu-hotplug on set cpu hotplug: 1 The VM has been successfully configured.
Once the functionality is enabled, you can increase the number of CPUs in the
# prlctl set MyVM --cpus 3 set cpus(4): 3 The VM has been successfully configured.
To disable the CPU hotplug support in the
# prlctl set MyVM --cpu-hotplug off set cpu hotplug: 0 The VM has been successfully configured. The changes will come into effect on the next virtual machine start. |
||||
|