Applicable to:
- SolusVM 2
Question
How to adjust custom CPU topology for SolusVM 2 Windows VM?
Answer
Manual adjustment of the KVM XML configuration file for a VM:
- Access CR with the VM
Create VM's configuration backup:
# virsh dumpxml UUID > path_to_backup_file
Open Configuration editor:
# virsh edit UUID
Add a new line with topology:
CONFIG_TEXT: <topology sockets='1' cores='2' threads='1'/>
The new line needs to be added in <cpu>section, so the result will be:
CONFIG_TEXT: <cpu mode='host-passthrough' check='none' migratable='on'>
<topology sockets='1' dies='1' cores='2' threads='1'/>
</cpu>Warning: Make sure that the multiplication of all 3 values equals the number of CPUs set in the VM's plan.
- Restart the VM to apply changes.
Replace UUID and path_to_backup_file with your values.
Comments
Please sign in to leave a comment.