Apart from CPU pinning, you can use the cpulimit parameter in your VM configuration. It restricts the amount of CPU time a VM can consume. For example, if your system has 2 physical CPUs, setting cpulimit: 1 ensures the VM won't use more than 1 CPU’s worth of time.