Articles in this section

How to adjust custom CPU topology for SolusVM 2 Windows VM?

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:

  1. Access CR with the VM
  2. Create VM's configuration backup:

    # virsh dumpxml UUID > path_to_backup_file  

  3. Open Configuration editor:  

    # virsh edit UUID

  4. 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. 

     

  5. Restart the VM to apply changes.  

Replace UUID and path_to_backup_file with your values.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.