I am trying to increase vCPUs on a VM. I have done this in the past.
Poweroff the VM
Configure for maximum allowed vCPUs
virsh setvcpus vm-1 10 --maximum --config
Change for current settings
virsh setvcpus vm-1 10 --current
Power on the VM
This way successfully adds 10 vCPUs to my VM. For some reasons, I need to add vCPUs on the VM without powering off. Is there a way to do this?