Home » Learn » How-To’s » How to expose the physical CPU to the VM

How to expose the physical CPU to the VM

Sometimes it is useful/required to expose the underlying physical CPU to the virtual machine.

To do this, you need to modify your VM’s template to include the following raw attributes:

RAW=[ DATA=”<cpu mode=’host-passthrough’/>”, TYPE=”kvm” ]

You can add these attributes by following these steps:

  1. Choose your VM template
  2. Click on ‘UPDATE’
  3. Click on ‘Other’
  4. From the ‘RAW data’ dropdown menu, choose ‘KVM’
  5. In the DATA text box, insert: “<cpu mode=’host-passthrough’/>”

Alternatively, you can directly edit the RAW template from the ‘Advanced’ update tab of the template.

Leave a comment

Your email address will not be published. Required fields are marked *