...
We can merge these syntax to specify some CPU and ranges of CPUs.
VM configuration
Resources
On the XML configuration for of a virtual machine, it's possible to specify the resource (RT or No RT)can be specified to know which slice should be used (more details here). So, the virtual machine will only have acces to the CPU associated with the slice.
Values possibles:
/machine/nort
/machine/rt
Example, for a virtual machine with the real-time:
Code Block | ||
---|---|---|
| ||
<resource> <partition>/machine/rt</partition> </resource> |
CPU tunning
The vcpupin
element specifies which of host's physical CPUs the domain vCPU will be pinned to (more details here).
In this project, it's used to reserved one or more CPUs for a critical virtual machine. So, it's important not use this CPU on another VM.