Xenserver – Assign more than 8 vCPU to VMs

I had a requirement to provide a VM with more than 8 vCPU and in Xencenter UI there was no option to do it.

I was able to do it from xenserver command line and below are the steps

xe vm-param-set uuid=your_vms_uuid VCPUs-at-startup=16 
xe vm-param-set uuid=your_vms_uuid VCPUs-max=16